Skip to content

Commit 94a13aa

Browse files
committed
minor #123 Adding details to LiveComponent changelog about parent-child changes (weaverryan)
This PR was merged into the main branch. Discussion ---------- Adding details to LiveComponent changelog about parent-child changes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | none | License | MIT CHANGELOG for #113, which I forgo to include. Cheers! Commits ------- 0a6684c Adding details to LiveComponent changelog about parent-child changes
2 parents 98cb0d4 + 0a6684c commit 94a13aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/LiveComponent/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## NEXT
44

5+
- When a model is updated, a new `live:update-model` event is dispatched. Parent
6+
components (in a parent-child component setup) listen to this and automatically
7+
try to update any model with a matching name. A `data-model-map` was also added
8+
to map child component model names to a parent - see #113.
9+
10+
- Child components are now re-rendered if the parent components passes new data
11+
to the child when rendering - see #113.
12+
513
- Minimum PHP version was bumped to 8.0 so that PHP 8 attributes could be used.
614

715
- The `LiveComponentInterface` was dropped and replaced by the `AsLiveComponent` attribute,

0 commit comments

Comments
 (0)