filmov
tv
React Router v6 in 20 Minutes | RRv6 Upgrade & Refactor Tutorial
Показать описание
In this React Router v6 upgrade & refactor tutorial, you will learn about React Router v6 including how to upgrade from v5 while refactoring a React JS Blog project utilizing the new features of RRv6.
React Router v6 in 20 Minutes | RRv6 Upgrade & Refactor Tutorial
(00:00) Intro
(00:09) Welcome
(00:15) Look at the docs
(01:07) The Starter Project
(02:15) Installing React Router Version 6
(06:39) useNavigate replaces useHistory
(07:26) Adding a Layout Component
(11:35) Adding Outlet index content
(13:40) Nested Routes
(16:13) Additional Routes
(17:04) Review of the Routing Structure
(18:29) Link and useParams
(20:20) Testing the Refactored Code
🔗 ES7 React JS Snippets Extension for VS Code:
🔗 React Dev Tools Extension for Chrome:
📚 References:
✅ Follow Me:
Was this tutorial about the React Router v6 helpful? If so, please share. Let me know your thoughts in the comments.
#react #router #v6
Комментарии