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
The handleLocationChange function is called as the listener to history.listen. In version 5 of history, it has the signature of (location, action, isFirstRendering), while a history's listener function has a signature of ({action, location}).
handleLocationChange
history.listen
history
(location, action, isFirstRendering)
({action, location})
This results in a state of shape {location:{location}} (nested) after the @@router/LOCATION_CHANGE action is called.
{location:{location}}
@@router/LOCATION_CHANGE
Fix is to use version 4 of the history package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
handleLocationChange
function is called as the listener tohistory.listen
. In version 5 ofhistory
, it has the signature of(location, action, isFirstRendering)
, while ahistory
's listener function has a signature of({action, location})
.This results in a state of shape
{location:{location}}
(nested) after the@@router/LOCATION_CHANGE
action is called.Fix is to use version 4 of the
history
package.The text was updated successfully, but these errors were encountered: