Completed
useAuth hook
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
React Protected Routes - Role-Based Authorization - React Router V6
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Welcome and Startup
- 3 Install React Router v6
- 4 Update index.js with RRv6
- 5 Basic Routing Setup
- 6 useAuth hook
- 7 RequireAuth component v1
- 8 Manage browser history
- 9 Testing with backend authentication
- 10 RequireAuth component v2
- 11 Applying Role-Based Routing
- 12 Object lookup for roles
- 13 Testing role-based routes
- 14 Last note on the Unauthorized component