Router state not being persisted in react-native with redux
问题 I have the following redux configuration in react-native using react-native-router-flux and redux-persist . I want to retrieve the last current route on refresh, however the route stack is being overwritten on reload. This is the reducers/index.js file import { combineReducers, createStore, applyMiddleware, compose } from 'redux' import { persistStore, autoRehydrate } from 'redux-persist' import { AsyncStorage } from 'react-native' import logger from 'redux-logger' import { startServices }