In your package.json package, replace the script tag with
"scripts": { "start": "webpack-dev-server --hot" },
and install "webpack-dev-server -hot" using npm install webpack-dev-server -hot
And run the application using
npm start
You also need to wrap your code in a tag inside return as
render() { return ( <div> <Provider store={store}> <AppContainer/> </Provider> </div>
and make sure you have installed all the babel dependencies to compile the code
Vikram Saini
source share