Skip to content

Instantly share code, notes, and snippets.

@gladchinda
Created August 29, 2018 08:29
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 gladchinda/f1fe4fcdbfe660fe1b29f205f9b6b3ec to your computer and use it in GitHub Desktop.
Save gladchinda/f1fe4fcdbfe660fe1b29f205f9b6b3ec to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import createStore from './createReduxStore';
const store = createStore();
const rootElement = document.getElementById('root');
ReactDOM.render((
<Provider store={store}>
<AppRootComponent />
</Provider>
), rootElement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment