In this tutorial we'll talk about Links and Navigation in Next.js. In a conventional web app, you can use an anchor tag to create a hyperlink. You can do the same with a next app, but you will miss out on some performance benefits and extra features. Next.js offers a special Link component that is a wrapper over the anchor tag that offers client-side navigation and prefetching. Additionally, we'll take a look at how you can navigate the user programatically with the useRouter hook.
Contents:
0:00 Introduction
0:16 Link Component
1:54 The useRouter Hook
3:25 How Navigation Works in Next.js
4:17 Conclusion
Email: [email protected]
Twitter: / nikelaz
LinkedIn: / nikola-lazarov
#nextjs #course
Смотрите видео Links and Navigation - Next.js Course #3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь NL Tech 05 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 973 раз и оно понравилось 35 людям.