Created
May 13, 2019 13:38
-
-
Save sahoosunilkumar/743a79f9769a5907cacbf37be45a6a81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AppRegistry } from "react-native"; | |
import React from "react"; | |
import App from "./App"; | |
import { name as appName } from "./app.json"; | |
import { Provider } from "react-redux"; | |
import configureStore from "./redux/stores/store"; | |
const store = configureStore(); | |
const RNRedux = () => ( | |
<Provider store={store}> | |
<App /> | |
</Provider> | |
); | |
AppRegistry.registerComponent(appName, () => RNRedux); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment