Skip to content

Instantly share code, notes, and snippets.

@AllGistsEqual
Last active May 1, 2020 14:46
Show Gist options
  • Save AllGistsEqual/10bcbc145d907e3cca802a32ce5ce861 to your computer and use it in GitHub Desktop.
Save AllGistsEqual/10bcbc145d907e3cca802a32ce5ce861 to your computer and use it in GitHub Desktop.
import React from 'react';
import { StatusBar } from 'react-native'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'
import { enableScreens } from 'react-native-screens'
import store, { persistor } from './src/redux/store'
import Navigation from './src/navigation'
import SceneAppLoading from './src/scenes/auth/sceneAppLoading'
enableScreens()
export default function App() {
return (
<Provider store={store}>
<PersistGate loading={<SceneAppLoading />} persistor={persistor}>
<StatusBar hidden />
<Navigation />
</PersistGate>
</Provider>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment