Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- npm i create-react-app -g // once
- npx create-react-app + name
- npm i redux --save
- npm i react-redux --save
- import Provider and connect fron react-redux
- npm run eject
- npm i babel-plugin-transform-decorators-legacy --save
- search for babel-loader/options in webpack.config.dev && webpack.config.prod and add it ' plugins: ['transform-decorators-legacy'],
Add Comment
Please, Sign In to add comment