Skip to content

Instantly share code, notes, and snippets.

@AllGistsEqual
Last active February 15, 2020 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AllGistsEqual/866c1fc4cedb16934e8bfab6083e0204 to your computer and use it in GitHub Desktop.
Save AllGistsEqual/866c1fc4cedb16934e8bfab6083e0204 to your computer and use it in GitHub Desktop.
import React from 'react';
import { Provider } from 'react-redux'
import { enableScreens } from 'react-native-screens';
import configureStore from './src/redux/store'
import { initialiseApplication } from './src/redux/actions/application.actions'
import Navigation from './src/navigation'
enableScreens();
const store = configureStore()
store.dispatch(initialiseApplication())
export default function App() {
return (
<Provider store={store}>
<Navigation />
</Provider>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment