-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
Description
I was having trouble implementing redux-immutable with react-router-redux using the selector described in the README.md.
I would receive the following error:
Uncaught TypeError: Cannot read property 'charAt' of undefined
at matchRoutes
I believe this is because the example is only converting the routing state shallowly, and can be fixed by using:
return state.get('routing').toJS()
instead of:
return state.get('routing').toObject()