/intro_to_context

Intro to React Context and Reducer Hooks - Live Session

Primary LanguageJavaScript

Intro to useContext and useReducer Hooks

Project Setup

  • Install dependencies by running npm i at the project root
  • Install json-server by running npm install -g json-server
  • Use the command json-server --watch db.json --port 3002 to run the json-server
  • Use the command npm start to start the project Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

Available db.json Routes

Data Source: https://jsonplaceholder.typicode.com