Skip to content

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.

@sdegueldre sdegueldre force-pushed the master-add-t-for-imp-sad branch 2 times, most recently from 3ec402a to 58240bd Compare July 20, 2023 11:27
@sdegueldre sdegueldre force-pushed the master-add-t-for-imp-sad branch from 58240bd to b23b69d Compare July 20, 2023 13:15
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.
@sdegueldre sdegueldre force-pushed the master-add-t-for-imp-sad branch from b23b69d to fb97955 Compare July 24, 2023 06:11
@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