Visitar URL original
Add skip children to morph by joshhanley · Pull Request #4568 · alpinejs/alpine · GitHub
Skip to content

Add skip children to morph - #4568

Merged
calebporzio merged 2 commits into
mainfrom
josh/morph-ignore-children
Mar 12, 2025
Merged

calebporzio merged 2 commits into
mainfrom
josh/morph-ignore-children

Conversation

@joshhanley

Copy link
Copy Markdown
Collaborator

This PR adds support to morph for skipping the update of an elements children. This can be used with something like Livewire to add a wire:ignore.children directive, to allow an elements attributes to be updated, but for it's children to be ignored.

See Livewire PR livewire/livewire#9229 for more details.

@joshhanley
joshhanley force-pushed the josh/morph-ignore-children branch from 236e1ab to d6b936f Compare March 10, 2025 07:36
@joshhanley joshhanley changed the title Add ignore children to morph Add skip children to morph Mar 10, 2025
@calebporzio
calebporzio merged commit d9fbb28 into main Mar 12, 2025
@calebporzio
calebporzio deleted the josh/morph-ignore-children branch March 12, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants