Skip to content

Adding details to LiveComponent changelog about parent-child changes #123

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 1 commit into from
Jul 7, 2021
Merged
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions src/LiveComponent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## NEXT

- When a model is updated, a new `live:update-model` event is dispatched. Parent
components (in a parent-child component setup) listen to this and automatically
try to update any model with a matching name. A `data-model-map` was also added
to map child component model names to a parent - see #113.

- Child components are now re-rendered if the parent components passes new data
to the child when rendering - see #113.

- Minimum PHP version was bumped to 8.0 so that PHP 8 attributes could be used.

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