Skip to content

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

2 participants