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

Stop page router on App unmount #3025

Merged
merged 1 commit into from
Jan 17, 2018
Merged

Conversation

fbarl
Copy link
Contributor

@fbarl fbarl commented Jan 17, 2018

Fixes #3024.

The router hooks weren't properly cleaned up, so when Scope app would be mounted second time, they would be in conflict with the new hooks.

This fix is a prerequisite for making https://github.com/weaveworks/service-ui/pull/1787 work.

@fbarl fbarl self-assigned this Jan 17, 2018
@fbarl fbarl requested a review from foot January 17, 2018 14:46
@fbarl fbarl merged commit 0dedbea into master Jan 17, 2018
@fbarl fbarl deleted the 3024-stop-page-router-on-unmount branch February 9, 2018 08:25
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.

URL doesn't always contain the state hash in WC
2 participants