Skip to content
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

fix #652 #672

Merged
merged 9 commits into from
Feb 18, 2022
Merged

fix #652 #672

merged 9 commits into from
Feb 18, 2022

Conversation

rmorshea
Copy link
Collaborator

@rmorshea rmorshea commented Feb 16, 2022

closes: #652
closes: #538
closes: #595

In short, because components do not have a node in the model state tree
managed by the layout, keys for elements in the components were being
registered to the parent of the component rather than to a node for
the component which contained the elements.

The short-term solution was to make it so components wrap their
contents in a div without a key. The long-term solution is to
refactor the Layout() and give components a dedicated node in the
model state tree

In short, because components do not have a node in the model state tree
managed by the layout, keys for elements in the components were being
registered to the parent of the component rather than to a node for
the component which contained the elements.

The short-term solution was to make it so components wrap their
contents in a div without a key. The long-term solution is to
refactor the Layout() and give components a dedicated node in the
model state tree
@rmorshea
Copy link
Collaborator Author

cc: @Archmonger

@Archmonger
Copy link
Contributor

Two in one special 😄

@rmorshea rmorshea merged commit dcd30c2 into main Feb 18, 2022
@rmorshea rmorshea deleted the fix-592 branch February 18, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants