We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I frequently run into situations where it would be helpful to know that a route has just changed or is in the process of changing.
Think of something like React's lifecycle methods.
As an example, it might be handy to know that a user has just navigated between two given routes in order to refresh the data held in redux state.
example:
const options = { *onRouteChange({ routeParams, nextRouteParams }) { if ( routeParams.section === 'user' && nextRouteParams.subsection === 'posts' ) { // do something with the params } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I frequently run into situations where it would be helpful to know that a route has just changed or is in the process of changing.
Think of something like React's lifecycle methods.
As an example, it might be handy to know that a user has just navigated between two given routes in order to refresh the data held in redux state.
example:
The text was updated successfully, but these errors were encountered: