Building with AdonisJS & Inertia: 2.3 - The Link Component and Programmatic Linking

Опубликовано: 11 Сентябрь 2024
на канале: Adocasts
212
5

Learn all about Inertia's Link component and router

👍 If You Enjoy This Video, Consider Hitting The Like Button!

🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...

🎯 Subscribe to Adocasts Plus to gain access to all our lessons and more!
https://adocasts.com/pricing

🧾 Find The Code For This Lesson Here: https://github.com/adocasts/building-...

In this lesson, we'll explore Inertia's Link component and its props. We'll then examine how to link between pages programmatically using Inertia's router.

⏳ Chapters
00:00 - Replace History State
01:15 - POST, PUT, PATCH, and DELETE Actions
03:00 - Preserving Scroll Position
04:08 - Specifying the Link Element
04:42 - Programmatic Linking with Inertia's Router
07:17 - Cleaning Up

-------------------------Socials--------------------------

🕸️ Website: https://adocasts.com
🐦 Twitter:   / adocasts  
👍 GitHub: https://github.com/adocasts