WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@joshhanley
Copy link
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
2 checks passed
@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.

3 participants