Skip to content

Instantly share code, notes, and snippets.

@pavinduLakshan
Last active May 11, 2020 11:37
Show Gist options
  • Save pavinduLakshan/a0ebe74bf5566bc641483558ea826c77 to your computer and use it in GitHub Desktop.
Save pavinduLakshan/a0ebe74bf5566bc641483558ea826c77 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorker from './serviceWorker';
import Reducer from './Reducer'
import { createStore } from 'redux';
import { Provider } from 'react-redux';
const store = createStore(Reducer);
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById('root')
);
serviceWorker.unregister();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment