Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

React Router 6 – Tutorial for Beginners

via freeCodeCamp

Overview

Dive into a comprehensive tutorial on React Router 6, designed for beginners. Master the fundamentals of page routing in React applications through this crash course. Explore essential concepts including creating first pages, implementing page components, utilizing the Link component, handling error pages, and building a navbar. Progress to more advanced topics such as nested routes, shared layouts, index pages, and the NavLink component. Learn to work with URL parameters, create single product pages, and use the useNavigate() hook. Conclude by implementing protected routes and refactoring your code. Access the provided source code and related React tutorials to enhance your learning experience. This 1-2 hour course, created by John Smilga from Coding Addict, offers a structured curriculum with time-stamped content for easy navigation.

Syllabus

) First Pages.
) Page Components.
) Link Component.
) Error Page.
) Navbar.
) Nested Routes.
) Shared Layout.
) Index Pages.
) NavLink Component.
) URL Params.
) Single Product.
) useNavigate().
) Protected Route.
) Refactor.

Taught by

freeCodeCamp.org

Reviews

Start your review of React Router 6 – Tutorial for Beginners

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.