Skip to main content
EK Web 1st Semester
Skift Dark/Light/Auto mode Skift Dark/Light/Auto mode Skift Dark/Light/Auto mode Tilbage til forsiden

04 React Router

React part III: Routing, Security, and Deployment

Topics covered in this week are:

  1. React Router
  2. Sub routing
  3. Routing params
  4. Routing context

Prepare for the class

  • Orient yourself in this documentation:
  1. Routing
  2. React Router Documentation - The Declarative Mode
  3. React routing examples
  4. Navigation
  5. Look at the JSON-Server again - JsonServer

In-class activity

  1. Go through the examples corresponding to the documentation above together in class.
  2. Routing in React - This is a more advanced exercise, so you can work in pairs or small groups. You can also use the examples from the class as a reference.

2 weeks mini project

  1. React Router mini project