Open rjackson159 opened 5 years ago
@rjackson159 I think that you forget to implement the persist gate:
On Root.js implement this:
import configureStore from './common/store';
import { PersistGate } from 'redux-persist/integration/react'
class Root extends React.Component {
render() {
const children = renderRouteConfigV3(routeConfig, '/');
return (
<Provider store={ configureStore.store }>
<PersistGate loading={null} persistor={configureStore.persistor}>
<ConnectedRouter history={history}>{children}</ConnectedRouter>
</PersistGate>
</Provider>
);
}
}
The app works fine without redux-persist. I've followed several examples on the implementation of persist...
Here's what I've changed prior to breaking everything:
configStore.js:
App.js:
Here is the error I get when trying to run the app:
Any help on this would be greatly appreciated!