Skip to content

support keying root morphs - #290

Open
SteffenDE wants to merge 1 commit into
patrick-steele-idem:masterfrom
SteffenDE:sd-keyed-root
Open

support keying root morphs#290
SteffenDE wants to merge 1 commit into
patrick-steele-idem:masterfrom
SteffenDE:sd-keyed-root

Conversation

@SteffenDE

Copy link
Copy Markdown
Contributor

Usually, morphdom updates the root node, even if getNodeKey reports a different node key. This adds a new option that discards the node instead, which treats it like the regular non matching key path for node children.

Relates to phoenixframework/phoenix_live_view#3423.
Relates to phoenixframework/phoenix_live_view#4334.

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.

1 participant