Updating the Store
Let’s update the store to support persistence.
We'll cover the following...
Next, we add support for persistence to the store. We’ll change our store from this:
import { createStore, applyMiddleware } from 'redux';
import rootReducer from './reducers/root';
import logMiddleware from './middleware/log';
import apiMiddleware from './middleware/api';
const store = createStore(
rootReducer,
...