You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation suggests using the history package. Recently version 5.0.0 was released and there was a bunch of documented and undocumented breaking changes. At least this one causes problems for me with redux-first-router 2.1.5:
history.listen() API changed. The callbacks are now called with an an object of shape Update instead of Location
For me, it causes error TypeError: Cannot read property 'toLowerCase' of undefined from connectRoutes.js.
Workarounds:
Keep using history 4.10.1
Use rudy-history instead. It seems to be what redux-first-router uses internally.
The text was updated successfully, but these errors were encountered:
Did you also have issues with location.search or location.query ? I am tracking down a bug now where those parameters seem to have disappeared, and I'm not sure if redux-first-router is to blame here, or if it's the history package
The documentation suggests using the history package. Recently version 5.0.0 was released and there was a bunch of documented and undocumented breaking changes. At least this one causes problems for me with redux-first-router 2.1.5:
For me, it causes error
TypeError: Cannot read property 'toLowerCase' of undefined
from connectRoutes.js.Workarounds:
The text was updated successfully, but these errors were encountered: