(Day 67 of 100) React Hooks and JavaScript Cheat Sheet

Dongyob (Eric)
1 min readApr 1, 2019

[Last Updated 4/20/2019]

  1. 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:
File Structure

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response