Skip to content

Instantly share code, notes, and snippets.

@gladchinda
Created August 29, 2018 09:07
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/b576eaa9f351cbc769db89d091017191 to your computer and use it in GitHub Desktop.
Save gladchinda/b576eaa9f351cbc769db89d091017191 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import store from './reduxStore';
import { Provider } from 'react-redux';
import NewComment from './components/NewComment';
function CommentsApp(props) {
return <NewComment />
}
ReactDOM.render((
<Provider store={store}>
<CommentsApp />
</Provider>
), document.getElementById('root'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment