TanStack Router: Path Parameters & Loader

Dev Leonardo
Dev Leonardo
2.4 هزار بار بازدید - 4 ماه پیش - Exploring TanStack Router on a
Exploring TanStack Router on a React project to learn the core features of this new typesafe router, together.

Today we'll see path parameters, how to read them and combine with loaders to get fresh data when your page loads.

Source code: https://github.com/Balastrong/tanstac...
_______________________________
Hit like and subscribe for more content! :D

Beginner-Friendly Open Source Projects: https://github.com/DevLeonardoCommunity
Join the Discord community! Here's the invite: Discord: discord

You can also follow me on the other platforms:
Twitter: Twitter: Balastrong
dev.to: https://dev.to/balastrong
Home: https://leonardomontini.dev/
TikTok: TikTok: balastrong
GitHub: https://github.com/Balastrong
Instagram: Instagram: devbalastrong
_______________________________
TIMESTAMPS

00:00 Intro
00:21 Create the route
00:55 Read the path parameter
01:55 Load data automatically
03:33 Navigate to a page with path params
07:01 Next: query params
4 ماه پیش در تاریخ 1402/12/08 منتشر شده است.
2,449 بـار بازدید شده
... بیشتر