(Day 67 of 100) React Hooks and JavaScript Cheat Sheet
1 min readApr 1, 2019
[Last Updated 4/20/2019]
- React Hook-Router-Redux environment quick setup
- Create react-app
Github Link: https://github.com/dyl4810/ReactHook-Router-Redux-Environment
Create react-app: $npx create-react-app [app name here]
Install dependencies: $npm install redux react-router-dom redux-react-hook// @package.json you should see below
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.0",
"react-scripts": "2.1.8",
"redux": "^4.0.1",
"redux-react-hook": "^3.3.1"
},
- copy paste below codes:
