Skip to content

Commit 0a6684c

Browse files
committed
Adding details to LiveComponent changelog about parent-child changes
1 parent 13804e6 commit 0a6684c

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)