Skip to content
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 Jan 15, 2024
1e6f54c
Scaffold files for wp-each e2e tests
DAreRodz Jan 15, 2024
4d9c5ef
Process template nodes inside `toVdom()`
DAreRodz Jan 15, 2024
70e3928
Add tests for several list manipulations
DAreRodz Jan 15, 2024
3133ccc
Add a new test to implement
DAreRodz Jan 15, 2024
81049f6
Add SSRed elements in PHP
DAreRodz Jan 15, 2024
17b536d
Add SSRed elements to letters test
DAreRodz Jan 15, 2024
aff2eb5
Add more test cases
DAreRodz Jan 15, 2024
7a675fc
Test support for siblings in template
DAreRodz Jan 15, 2024
cbb1fcb
Implement tests for wp-each on navigation
DAreRodz Jan 16, 2024
da75d6c
Update changelog
DAreRodz Jan 16, 2024
ff37087
Add `wp-each` documentation
DAreRodz Jan 16, 2024
ed43ff1
Extract localName
luisherranz Jan 17, 2024
87eea97
Add missing comment for `data-wp-each-child` elements in tests
DAreRodz Jan 17, 2024
39797db
Clarify that `data-wp-each-child` is added automatically
DAreRodz Jan 17, 2024
437d7c7
Add test for nested lists
DAreRodz Jan 19, 2024
4331a96
Do nothing if element is not a template
DAreRodz Jan 19, 2024
a966883
Add SSRed elements to nested testing
DAreRodz Jan 19, 2024
45f3139
Add tests for non-template elements
DAreRodz Jan 19, 2024
d766bbf
Add `wp-each` to the table of contents
DAreRodz Jan 19, 2024
bbe13c2
Fix name of nested list tests
DAreRodz Jan 19, 2024
00650c7
Add tests for derived state as keys
DAreRodz Jan 19, 2024
e33342d
Fix broken tests
DAreRodz Jan 19, 2024
1621077
Add missing inner templates in SSR
luisherranz Jan 22, 2024
a115a92
Merge branch 'trunk' into add/interactivity-api-wp-each
luisherranz Jan 22, 2024
187910f
Merge branch 'trunk' into add/interactivity-api-wp-each
luisherranz Jan 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add wp-each to the table of contents
  • Loading branch information
DAreRodz committed Jan 19, 2024
commit d766bbf417cfc9e878ea9b9b3edba586841221d6
1 change: 1 addition & 0 deletions packages/interactivity/docs/2-api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DOM elements are connected to data stored in the state and context through direc
- [`wp-init`](#wp-init) ![](https://img.shields.io/badge/SIDE_EFFECTS-afd2e3.svg)
- [`wp-run`](#wp-run) ![](https://img.shields.io/badge/SIDE_EFFECTS-afd2e3.svg)
- [`wp-key`](#wp-key) ![](https://img.shields.io/badge/TEMPLATING-afd2e3.svg)
- [`wp-each`](#wp-each) ![](https://img.shields.io/badge/TEMPLATING-afd2e3.svg)
- [Values of directives are references to store properties](#values-of-directives-are-references-to-store-properties)
- [The store](#the-store)
- [Elements of the store](#elements-of-the-store)
Expand Down