title: How to persist redux store to local storage rather than async storage in react native
body: <p>I am using <code>redux-persist</code> to persist state of my app. By default it persist state inside <code>AsyncStorage</code> but I want it to be in <code>localStorage</code>. There is nothing about this in official docs as far as <code>react-native</code> is concerned.
  This is my code till now:</p>
  <pre><code>import { persistStore, persistCombineReducers } from 'redux-persist';
  import storage from 'redux-persist/es/storage';
  
  const config = {
      key: 'root',
      storage,
      debug: true
    }
  
  export const ConfigureStore = () =&gt; {
      const store = createStore(
          persistCombineReducers(config,{
              dishes,
              comments,
              promotions,
              leaders,
              favorite
          }),
          applyMiddleware(thunk)
      );
  
      const persistor = persistStore(store)
  
      return {persistor, store};
  }
  </code></pre>
  <p>Can I do something like this:</p>
  <pre><code>import storage from 'redux-persist/es/localStorage';
  ...
  storage: storage
  
  </code></pre>
  <p>Please help me on the topic if anyone has ever used it before. Thank You!</p>