React Router Crash Course

React Router Crash Course

freeCodeCamp.org via freeCodeCamp Direct link

Initialize new React App

2 of 22

2 of 22

Initialize new React App

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

React Router Crash Course

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Initialize new React App
  3. 3 Header Component
  4. 4 React Router Installation
  5. 5 BrowserRouter
  6. 6 Creating Routes
  7. 7 Testing Routes
  8. 8 'exact' prop
  9. 9 Switch Tag
  10. 10 Link Tag
  11. 11 basename prop
  12. 12 forceRefresh Prop
  13. 13 getUserConfirmation
  14. 14 scroll to top on route change
  15. 15 404 Not Found Page
  16. 16 Access URL Params
  17. 17 useParams Hook
  18. 18 useLocation Hook
  19. 19 Redirecting in React Router
  20. 20 useHistory Hook
  21. 21 Nested Routing
  22. 22 Outro

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.