-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
When using redux-logger in the Chrome debugger the prev state is incorrect, and always matches next-state, seems to be a reference error. This is not an issue in the (now unsupported) react-native-redux-router though.
I'm unsure if this is an issue local to my reducer, or an internal issue of react-native-router-flux.
Here's the action I'm performing in the reducer
case ON_PUSH:
var newRouterState = action.routerState
newRouterState.push(action.route)
return {
...state,
routerState: newRouterState
};Attached image shows the routerState array containing two objects before and after the ON_PUSH action, though prev state should only contain one.
Metadata
Metadata
Assignees
Labels
No labels
