TanStack Router: Query Parameters & Validation
1.9 هزار بار بازدید -
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 how query parameters (or search params) can be validated, safely associated with a type, and how this can actually become a state manager you can share with the URL.
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 Preview
00:25 Define the parameters
02:22 Read the parameters
04:40 Validation (zod/valibot)
06:18 Params as state manager
09:19 Next: Authenticated routes
Today we'll see how query parameters (or search params) can be validated, safely associated with a type, and how this can actually become a state manager you can share with the URL.
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 Preview
00:25 Define the parameters
02:22 Read the parameters
04:40 Validation (zod/valibot)
06:18 Params as state manager
09:19 Next: Authenticated routes
4 ماه پیش
در تاریخ 1402/12/15 منتشر شده
است.
1,949
بـار بازدید شده