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

Suggestion: previous location and params #120

Open
eliseumds opened this issue Dec 13, 2017 · 0 comments
Open

Suggestion: previous location and params #120

eliseumds opened this issue Dec 13, 2017 · 0 comments

Comments

@eliseumds
Copy link
Contributor

eliseumds commented Dec 13, 2017

It would be great to have the previous location and params inside @asyncConnect to know whether to update some specific part of the page or not. I have a quite complex page with multiple different sections that receive data from different API endpoints that may need to refresh when specific query string parameters change.

My current solution is to store the query (or whatever else I need from location) in a Redux store. Does anyone know of a better way to do it? I saw reloadOnPropsChange but it only works on a global level.

@eliseumds eliseumds changed the title Suggestion: previousLocation Suggestion: previous location and params Apr 24, 2018
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

No branches or pull requests

1 participant