Learn React Router v6 – Full Course

freeCodeCamp.org April 4, 2024
Video Thumbnail
freeCodeCamp.org Logo

freeCodeCamp.org

View Channel

About

Learn math, programming, and computer science for free. A 501(c)(3) tax-exempt charity. We also run a free learning interactive platform at freecodecamp.org

Video Description

Learn how to use React Router. You'll learn about setting up a basic routes, protecting authenticated routes, custom route transitions and more. Course created by @CounterSyntax 💻 Starter Project/Boilerplate code: github.com/Kolosafo/git-explorer-starter 💻 Git Explorer Final: https://github.com/Kolosafo/git-explorer-final ❤️ Try interactive React courses we love, right in your browser: https://scrimba.com/freeCodeCamp-React (Made possible by a grant from our friends at Scrimba) ⭐️ Contents ⭐️ ⌨️ (0:00:00) Course Overview ⌨️ (0:02:23) Introduction To React Router ⌨️ (0:05:08) Project Overview ⌨️ (0:07:01) Project Setup ⌨️ (0:09:23) Installing React Router ⌨️ (0:10:33) Setting up React Router ⌨️ (0:14:11) Introduction to Routing ⌨️ (0:20:37) Boilerplate code ⌨️ (0:21:23) Adding a new Route ⌨️ (0:22:12) How to Navigate between Pages ⌨️ (0:25:01) Nested Routes ⌨️ (0:31:37) Creating a custom "Not Found" page ⌨️ (0:35:30) Dynamic Routing ⌨️ (0:43:34) Programmatic Navigation ⌨️ (0:53:27) Route Guarding ⌨️ (1:02:45) Navbar Adjustment ⌨️ (1:06:07) Navigation Transition Animation ⌨️ (1:16:54) Lazy Loading ⌨️ (1:24:34) Advanced Route Config ⌨️ (1:37:09) The Final Project ⌨️ (1:38:09) The END! 🎉 Thanks to our Champion and Sponsor supporters: 👾 davthecoder 👾 jedi-or-sith 👾 南宮千影 👾 Agustín Kussrow 👾 Nattira Maneerat 👾 Heather Wcislo 👾 Serhiy Kalinets 👾 Justin Hual 👾 Otis Morgan 👾 Oscar Rahnama -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

You May Also Like

Upgrade Your Gear Hauling

AI-recommended products based on this video

Loading...
ANCEL AD310 Classic Enhanced Universal OBD II Scanner Car Engine Fault Code Reader CAN Diagnostic Scan Tool, Read and Clear Error Codes for 1996 or Newer OBD2 Protocol Vehicle (Black) Global Recycled Standard
Best Seller

ANCEL AD310 Classic Enhanced Universal OBD II Scanner Car Engine Fault Code Reader CAN Diagnostic Scan Tool, Read and Clear Error Codes for 1996 or Newer OBD2 Protocol Vehicle (Black) Global Recycled Standard

(57,635)
$23.99
FREE delivery Sun, Sep 21 on $35 of items shipped by Amazon
20K+ bought in past month
Loading...
1TB SSD Internal Solid State Drive 2.5" SATA III 6Gb/s, 550MB/s Read Speed 3D TLC NAND, 1TB SATA SSD PC/Laptop Upgrade, Shock-Resistant & Drop-Proof(ES106)

1TB SSD Internal Solid State Drive 2.5" SATA III 6Gb/s, 550MB/s Read Speed 3D TLC NAND, 1TB SATA SSD PC/Laptop Upgrade, Shock-Resistant & Drop-Proof(ES106)

(1,520)
51.99
PrimeFREE delivery Saturday, June 14
100+ bought in past month
Loading...
Lauren Ralph Lauren Women's Cameryn Iii Flat Ballet

Lauren Ralph Lauren Women's Cameryn Iii Flat Ballet

(4)
$75.68
Loading...
3D Eye Mask Sleep Mask for Men & Women, 100% Pressure-Free & Light Block-Out Eye Mask for Sleep with Easy Adjustable Strap, Night Eye Cover for Travel, Black

3D Eye Mask Sleep Mask for Men & Women, 100% Pressure-Free & Light Block-Out Eye Mask for Sleep with Easy Adjustable Strap, Night Eye Cover for Travel, Black

(3,510)
$5.99
FREE delivery Sun, Dec 28 on $35 of items shipped by Amazon
70K+ bought in past month
Loading...
CRZ YOGA Lightweight Tie Back Workout Tank Top for Women V Neck Spaghetti Strap Yoga Sleeveless Shirts Halter Camisole

CRZ YOGA Lightweight Tie Back Workout Tank Top for Women V Neck Spaghetti Strap Yoga Sleeveless Shirts Halter Camisole

(52)
$18.00
FREE delivery Mon, Aug 18 on $35 of items shipped by Amazon
Loading...
CRZ YOGA Butterluxe Womens Adjustable Spaghetti Thin Strap Sports Bra - Padded Wireless Square Neck Workout Yoga Clothes

CRZ YOGA Butterluxe Womens Adjustable Spaghetti Thin Strap Sports Bra - Padded Wireless Square Neck Workout Yoga Clothes

(1,032)
$20.00
FREE delivery Mon, Aug 18 on $35 of items shipped by Amazon
100+ bought in past month
Loading...
GeekShare Vintage Carry Case Compatible with Switch/Switch OLED - Portable Hardshell Travel Carrying Case fit Switch Console with Acrylic Strap

GeekShare Vintage Carry Case Compatible with Switch/Switch OLED - Portable Hardshell Travel Carrying Case fit Switch Console with Acrylic Strap

(214)
$26.99
FREE delivery Mon, Jun 16 on $35 of items shipped by Amazon
50+ bought in past month
Loading...
GMKtec Mini PC N97 Preinstalled Windows 11 Pro, G5 Micro Desktop Computer, 12th Gen Intel Alder Lake N97 (up to 3.60GHz) 12GB DDR5 256GB Hard Drive for Business, School, Office

GMKtec Mini PC N97 Preinstalled Windows 11 Pro, G5 Micro Desktop Computer, 12th Gen Intel Alder Lake N97 (up to 3.60GHz) 12GB DDR5 256GB Hard Drive for Business, School, Office

(1,018)
143.99
PrimeFREE delivery Saturday, June 14
1K+ bought in past month
Loading...
VOLTME Portable Charger, Slim 10000mAh 5V/3A Power Bank, USB C in&Out High-Speed Charging Battery Pack, Travel Essentials Dual Output Compatible with iPhone 16 15 14 13 12 Samsung Google iPad etc

VOLTME Portable Charger, Slim 10000mAh 5V/3A Power Bank, USB C in&Out High-Speed Charging Battery Pack, Travel Essentials Dual Output Compatible with iPhone 16 15 14 13 12 Samsung Google iPad etc

(51)
19.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
Loading...
ANKER 737 Power Bank, 24,000mAh 3-Port Laptop Portable Charger with 140W Fast Charging, Smart Display, for Outdoor Work, Compatible with iPhone 16/15/14 Series, Vision Pro, Samsung, MacBook, and More

ANKER 737 Power Bank, 24,000mAh 3-Port Laptop Portable Charger with 140W Fast Charging, Smart Display, for Outdoor Work, Compatible with iPhone 16/15/14 Series, Vision Pro, Samsung, MacBook, and More

(13,939)
109.99
FREE delivery Saturday, June 14
9K+ bought in past month
Loading...
UGREEN Nexode Power Bank 20000mAh 130W Portable Charger 72Wh PD Fast Charging 3-Port USB C Battery Pack with TFT Smart Display for MacBook/iPad/iPhone 16/Samsung S24 and More

UGREEN Nexode Power Bank 20000mAh 130W Portable Charger 72Wh PD Fast Charging 3-Port USB C Battery Pack with TFT Smart Display for MacBook/iPad/iPhone 16/Samsung S24 and More

(1,903)
69.99
PrimeFREE delivery Saturday, June 14
500+ bought in past month
Loading...
Power Bank 20,000mAh, 45W Fast Charging Laptop Portable Charger with Built-in USB C Cable, Travel Essential External Battery Pack with LED Display for MacBook iPad iPhone 16/15/14/13/Galaxy

Power Bank 20,000mAh, 45W Fast Charging Laptop Portable Charger with Built-in USB C Cable, Travel Essential External Battery Pack with LED Display for MacBook iPad iPhone 16/15/14/13/Galaxy

(173)
44.99
PrimeFREE delivery Saturday, June 14