We should eventually move to a reducer-based paradigm for routing state, as with the new NavigationExperimental in React Native. This just seems to be the best paradigm for maintaining application-level state.
This gives us the potential for much better integration with Redux. The biggest challenge for the router, though, is that, given async routes, our state is not naturally serializable, which is not strictly a problem with a reducer-based paradigm, but would be a problem for Redux integration.
cc @gaearon @jlongster
We should eventually move to a reducer-based paradigm for routing state, as with the new
NavigationExperimentalin React Native. This just seems to be the best paradigm for maintaining application-level state.This gives us the potential for much better integration with Redux. The biggest challenge for the router, though, is that, given async routes, our state is not naturally serializable, which is not strictly a problem with a reducer-based paradigm, but would be a problem for Redux integration.
cc @gaearon @jlongster