-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Interactivity API: Add wp-each directive
#57859
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
50b0caf
Copy the wp-each implementation
DAreRodz 1e6f54c
Scaffold files for wp-each e2e tests
DAreRodz 4d9c5ef
Process template nodes inside `toVdom()`
DAreRodz 70e3928
Add tests for several list manipulations
DAreRodz 3133ccc
Add a new test to implement
DAreRodz 81049f6
Add SSRed elements in PHP
DAreRodz 17b536d
Add SSRed elements to letters test
DAreRodz aff2eb5
Add more test cases
DAreRodz 7a675fc
Test support for siblings in template
DAreRodz cbb1fcb
Implement tests for wp-each on navigation
DAreRodz da75d6c
Update changelog
DAreRodz ff37087
Add `wp-each` documentation
DAreRodz ed43ff1
Extract localName
luisherranz 87eea97
Add missing comment for `data-wp-each-child` elements in tests
DAreRodz 39797db
Clarify that `data-wp-each-child` is added automatically
DAreRodz 437d7c7
Add test for nested lists
DAreRodz 4331a96
Do nothing if element is not a template
DAreRodz a966883
Add SSRed elements to nested testing
DAreRodz 45f3139
Add tests for non-template elements
DAreRodz d766bbf
Add `wp-each` to the table of contents
DAreRodz bbe13c2
Fix name of nested list tests
DAreRodz 00650c7
Add tests for derived state as keys
DAreRodz e33342d
Fix broken tests
DAreRodz 1621077
Add missing inner templates in SSR
luisherranz a115a92
Merge branch 'trunk' into add/interactivity-api-wp-each
luisherranz 187910f
Merge branch 'trunk' into add/interactivity-api-wp-each
luisherranz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add
wp-each to the table of contents
- Loading branch information
commit d766bbf417cfc9e878ea9b9b3edba586841221d6
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.