Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] compiler: add support for t-for directive #1491

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdegueldre
Copy link
Contributor

This commit adds support for the t-for whose syntax and usage is similar to the syntax of the for..of loop in JS (and in fact it compiles to a for..of loop). This looping construct supports looping on arbitrary iterables and destructuring assignments, which would be difficult to support in a backward compatible manner on the existing t-foreach directive.

This commit adds support for the `t-for` whose syntax and usage is
similar to the syntax of the for..of loop in JS (and in fact it compiles
to a for..of loop). This looping construct supports looping on arbitrary
iterables and destructuring assignments, which would be difficult to
support in a backward compatible manner on the existing t-foreach
directive.
@ged-odoo ged-odoo added this to the Version 3.0 milestone Jul 24, 2023
@ged-odoo ged-odoo added the owl-3 features for owl 3 label Jul 24, 2023
@ged-odoo
Copy link
Contributor

to think about for owl 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
owl-3 features for owl 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants