title: PersistGate causes the app to stop rendering
body: <p>I am in the process of configuring a React Native app with Redux store and <code>PersistGate</code>. The Redux store is configured and working as expected, but the <code>PersistGate</code> is causing the app to stop rendering even the first screen. Without <code>PersistGate</code> the app renders fine.</p>
  
  <p>Here is the <code>App.js</code> code:</p>
  
  <pre><code>    import React, {Component} from 'react';
      import { Provider } from 'react-redux';
      import { createStore, applyMiddleware } from 'redux';
      import thunk from 'redux-thunk';
      import { persistStore, autoRehydrate } from 'redux-persist';
      import { PersistGate } from 'redux-persist/integration/react';
      import AppNavigator from './AppNavigator';
      import SplashScreen from 'react-native-splash-screen';
      import allReducers from './store/reducers/index';
  
      const store = createStore(
        allReducers,
        applyMiddleware(thunk),
        //compose(applyMiddleware(thunk), autoRehydrate()),
      );
  
      // This line makes store persistent.
      const persistor = persistStore(store);
  
      type Props = {};
      export default class App extends Component&lt;Props&gt; {
        componentDidMount() {
          if (SplashScreen) {
            SplashScreen.hide();
          }
        }
        render() {
          return (
            &lt;Provider store={ store }&gt;
              &lt;PersistGate persistor={persistor}&gt;
                  &lt;AppNavigator /&gt;
              &lt;/PersistGate&gt;
            &lt;/Provider&gt;
          );
        }
      }
  </code></pre>
  
  <p>The Reducer index file:</p>
  
  <pre><code>    import {combineReducers} from 'redux';
      import userReducer from './UserReducer';
      const allReducers= combineReducers({
        user: userReducer,
      });
      export default allReducers;
  </code></pre>
  
  <p>If I remove the <code>&lt;PersistGate persistor={persistor}&gt;</code> tag from <code>App.js</code> file, the app works fine. But when I use the <code>PersistGate</code>, I just see a white screen without any crash.</p>
  
  <p>What am I missing which causes this weird output?</p>