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 where root components were re-mounted instead of updated #8

Merged
merged 1 commit into from
May 7, 2020

Conversation

chasenlehara
Copy link
Member

@chasenlehara chasenlehara commented May 7, 2020

Previously, the ObservedComponent was recreated with every update. This fixes the issue by using the same component for the lifespan of the element.

Looks like CI isn’t set up, so here are the passing tests:

Screen Shot 2020-05-07 at 1 38 59 PM

Previously, the ObservedComponent was recreated with every update. This fixes the issue by using the same component for the lifespan of the element.
@chasenlehara chasenlehara merged commit d03ac2f into master May 7, 2020
@chasenlehara chasenlehara deleted the fix-unmount-issue branch May 7, 2020 20:40
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.

2 participants