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

remove router transition hook when unmounting #83

Merged
merged 1 commit into from
Jul 31, 2015

Conversation

darekrossman
Copy link
Contributor

Transition hook is being added every time the component is mounted so its gets called more and more times with every mount/unmount. Not a big deal in this component since it never unmounts, but a good example to follow for child components that do switch out.

Transition hook is being added every time the component is mounted so its gets called more and more times with every mount/unmount. Not a big deal in this component since it never unmounts, but a good example to follow for child components that do switch out.
erikras added a commit that referenced this pull request Jul 31, 2015
remove router transition hook when unmounting
@erikras erikras merged commit c460439 into erikras:master Jul 31, 2015
@erikras
Copy link
Owner

erikras commented Jul 31, 2015

Good one. Someone mentioned that the other day (you?), and I hadn't gotten around to it. Thanks!

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