-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Preserve components between routes #225
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
Comments
Whelp, duplicate of #97. |
yeah, this is changing asap. for now you can |
I have <this.props.activeRouteHandler key="https://github.com/rackt/react-router/issues/225" /> :-) |
btw: #229 will cut a release today if I get enough time to document all the recent changes. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, handler components are given a key relative to their route's path, which means that you can't use react's diff algorithm between handlers.
However, I'd like to preserve some components between routes. In my case, a sidebar that only changes some of its content between two routes.
The text was updated successfully, but these errors were encountered: