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 issue with key-based identity #623

Merged
merged 2 commits into from Jan 27, 2022
Merged

fix issue with key-based identity #623

merged 2 commits into from Jan 27, 2022

Conversation

rmorshea
Copy link
Collaborator

@rmorshea rmorshea commented Jan 27, 2022

closes: #622

keys for elements at the root of a component were not being tracked. thus key changes for elements at the root did not trigger unmounts.

The logic inside of layout.py is becoming increasingly convoluted. it needs to be refactored. Thankfully we have an extensive library of tests which we can use to prevent regressions once there's time to do that.

keys for elements at the root of a component were not being tracked.
thus key changes for elements at the root did not trigger unmounts.
@rmorshea rmorshea merged commit cf831fe into main Jan 27, 2022
@rmorshea rmorshea deleted the fix-622 branch January 27, 2022 20:44
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.

Change Key of Parent Element Does Not Unmount Children
1 participant