Skip to content

Instantly share code, notes, and snippets.

@Colour-Full
Created March 18, 2018 19:59
Show Gist options
  • Save Colour-Full/b3b103c9d2db55ebf8add108ece22f80 to your computer and use it in GitHub Desktop.
Save Colour-Full/b3b103c9d2db55ebf8add108ece22f80 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
// This will be the entry point of our app
const App = () => {
return (
// We will add our components here
<div />
);
};
ReactDOM.render(
// We need to wrap our app in provider to make use of redux
<Provider>
<App />
</Provider>,
document.querySelector('.react-container'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment