Closed
Description
- react-native-router-flux v3.35
- react-native v0.33
I get undefined is not an object
when evaluating action.scene.name
. What is wrong?
Steps to reproduce
This happens with this code:
const reducerCreate = params=>{
const defaultReducer = Reducer(params);
console.log(params)
return (state, action)=>{
ConfigActions.setCurrentRoute(action.scene.name);
return defaultReducer(state, action);
}
}
Metadata
Metadata
Assignees
Labels
No labels