TanStack Router: Path Parameters & Loader

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

_______________________________
Hit like and subscribe for more content! :D

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

Thanks Dev Leonardo, I was really stuck on few concepts
for my work, , you are a saviour bro!1

snletwang
Автор

thanks so much, i was stuck on the dynamic router till i saw your video!

azka
Автор

very great video .. well explained, il love it ... and please continue :

bahwarrior
Автор

great video! could you do one about authentication and protected routes using tanstack router?

diegotfranco
Автор

Hey! i'm a big fan of you from korea. i understood that make main nav from __route file and use <Outlet/> for component rendering.
But my question is, can't i use <Outlet /> on any other path component ?
for example, when i go into /pokemon. there is a sub nav. (like as shown in the above your video)and also i go into /pokemon/$id.
there is also sub nav, and pokemon details .
how can i make code ?

uprisingalpha
Автор

Do you know why a double quote is added when move to navigate with the query param is a number

ex)
navigate({ to: '/abc', search: { code: '123' }})

lacomparte