Skip to content

Instantly share code, notes, and snippets.

@sathinduga
Created September 9, 2018 16:18
Index
import React from 'react'; // Remember to import React
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import {name as appname} from './app.json';
import Application from './src/app';
import configStore from './src/store/config_store';
const store = configStore();
const RNRedux = () => (
<Provider store={ store }>
<Application/>
</Provider>
);
AppRegistry.registerComponent (appname, () => RNRedux);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment