TanStack Router: Query Parameters & Validation

preview_player
Показать описание
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.

_______________________________
Hit like and subscribe for more content! :D

You can also follow me on the other platforms:
_______________________________
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
Рекомендации по теме
Комментарии
Автор

Just came here to say that all of your videos been very, very helpful! I have been trying to solidify my knowledge about the Tanstack Stack, and your videos has been one of the first things that I watch whenever I get stuck. Thank you so much for your content. You really deserve more subscribers. 👀❤

isvene
Автор

Very helpful video! Thanks for sharing your knowledge!

flwi
Автор

Hello, I also directly use the return value of useSearch as the value of input, and then use navigate in onChange to modify the search value, but my input box is very laggy. I don't know why.

aarondz