Love the endless change in life cycle of apps before going from dev to production.
@froxx938 ай бұрын
Oh wow, thanks a ton for the Shift+option+O shortcut! It has always been a pain point for me to manually remove those things
@rjwhite44249 ай бұрын
Dude whenever I want to know what's up and coming libraries or software I check out your channel. You rock!! I'd love to see a longer in depth tutorial video where you built a basic app.
@hyperprotagonist9 ай бұрын
Don’t lie Josh. You’ll be using react router in your next project 😂
@statuschannel85729 ай бұрын
Truee 😂
@saksham_16129 ай бұрын
😂😂😂
@Yesterday_i_ate_rat9 ай бұрын
*Dom
@vanhellsing30299 ай бұрын
yes
@jamshediqbal79369 ай бұрын
Haha it's funny but true
@joe-robin9 ай бұрын
4:27 Josh: That is magical ✨ Also Josh : That is basic stuff.
@thebenkalungi8 ай бұрын
Thanks... this is a great intro video. is like a portal that keeps changing the UI view whenever a matching route is active.
@versaleyoutubevanced86479 ай бұрын
Crazy how Josh don't know what Outlet does, is literally the most awesome thing about react routers
@BliitzPint9 ай бұрын
I was also a bit shocked about that. I mean come on, this doesn’t exist for only 2 days or so…
@graysonorr81729 ай бұрын
He could of at least looked it up. He does edit his videos@@lollol-il2vz
@darwinnarro28899 ай бұрын
I dont know what Outlet does too 😆the funny thing is that in some projects I use React Router PD: I would rather never touch anything about React Router to be honest
Nothing is beating the loader and action of react router💪🏾
@vty42619 ай бұрын
dude, there is loaders as well and they are type safe
@anth0ni339 ай бұрын
@@vty4261 just found out. Thanks
@swaroopkanakam86849 ай бұрын
Thank you for sharing these informative videos; they've certainly enriched our knowledge and understanding
@SamuelKarani9 ай бұрын
"fully type safe" does't add much for most sites and projects which are small and have a few routes to begin with
@athulgeorge48739 ай бұрын
Ur complaining about something the tool was not designed for. It’s for large apps that heavily rely on routing. Updating routes and search params can cause large breaking changes that u would not be aware of unless u had good typechecking on routes.
@prashlovessamosa9 ай бұрын
Please make more comprehensive Tut on this please.
@oussamasethoum16659 ай бұрын
I hope you have talk about the layout part next time.
@sohamnandi75269 ай бұрын
We need an end to end tutorial
@SkillR12 ай бұрын
Instead of reload your window after installing a dependency - you can just "Restart TS server" instead - this will re-init typescript for you current vscode window
@dileepa-mn2to9 ай бұрын
Need a full video about this
@TutoDS20142 ай бұрын
How can be used with React Query?
@zakir.nuriiev9 ай бұрын
Cool review! Thank you!
@jamshediqbal79369 ай бұрын
I only like the type-safe part but I also hate it at the same time because I have to use that much boilerplate code to make it actually type-safe... 😂
@Tifidy9 ай бұрын
this was ridiciliously helpfull thanks
@xya66489 ай бұрын
Congrats on the mac!
@statuschannel85729 ай бұрын
looks good But no thanks, i already spent lots of time from react router v5 to v6 to v6.3.3 to v6.4 and not going to invest anymore time in routing!
@joshtriedcoding9 ай бұрын
fair enough
@zoltanbalogh89499 ай бұрын
And there is also no sense using this library :D you can achive routes type safety with many other ways (you do not need another useless fancy "autogen "solution"") and also react-router way too powerful This feels way too complex, compared to only few lines of code with react router,
@athulgeorge48739 ай бұрын
@@zoltanbalogh8949autogen is one way of doing it, tanstack router prefers u don’t do it that way but gives u the option regardless
@statuschannel85729 ай бұрын
@@zoltanbalogh8949 true i already made a simple approach which is putting all the routes in an object so you don't have to worry about typos and stuff. there could be better approaches as well
@anasouardini8 ай бұрын
I'm too used to the in-one-place version of routing.
@ardianhotii9 ай бұрын
Can you please make a tutorial making and app using tanstack router and react query with pagination , this would be best combo
@denniscual46189 ай бұрын
It just crazy how we can say that React Router is not a modern router lib. Remix is using it under the hood and these loaders/mutations and apis for managing url state are driven by React Router. This Tanstack and React Router are not totally comparable. Tanstack is more opinionated compare to the later like having its own caching. But you can integrate caching into React Router like using it with react-query. But saying React Router is not a modern is kinda misleading.
@MrWalrusxD9 ай бұрын
I am trying to switch to Tanstack Router from React Router. But as I experience, all of my components are going to be placed in the routes. Is that a right conclusion? You can add the component as a function but not give any properties. Has anybody have tips?
@khaledsanny48179 ай бұрын
So much boilerplate 😅
@jitxhere9 ай бұрын
Hey. I would love to see project on React Vite Tanstack Query and Router
@athulgeorge48739 ай бұрын
Can u make a full stack app using tanstack router and trpc with SSR? Would love to see if SSR is possible with tanstack router
@gavinlindridge9 ай бұрын
I would love to see this setup also!
@0xtz_9 ай бұрын
I need to try this 👀, but I need to migrate all the routes hhhh
@orzarhi40509 ай бұрын
Josh, enjoy your new Mac! 😅
@joshtriedcoding9 ай бұрын
YESSIR
@johnsoto71129 ай бұрын
Or use nextjs!!
@preetam-raj9 ай бұрын
Sorry! I will go with NextJS
@capztube90697 ай бұрын
Outlet is too good to gloss over!
@samwise87319 ай бұрын
"fully typesafe" but in the codegen, I see some "any" type lol
@TheIpicon9 ай бұрын
Vercel should take some pointers
@zakidzz9 ай бұрын
hey do us an advanced shadcn totorial advanced costumisation and variants .....
@ralkey9 ай бұрын
i dont understand the point of using a router. it seems so much easier to me to just create folders which tells where in the url something is (like /home) and put a .tsx file there this just seems way too much work for something so basic is there something about routers that im not getting?
@neociber249 ай бұрын
That's a router, but the complexity is removed
@iury6649 ай бұрын
it is unbound from react tree ?
@iury6649 ай бұрын
well "parallel Route Loaders" hahah nice
@MrJfergs23 күн бұрын
So you're not going to use remix, because that is what react router v7 is going to be. I know this is a youtube clickbait title but the job market is going to still be filled by react router for years anyways.
@divyanshm.22769 ай бұрын
this is great
@omarkraidie9 ай бұрын
So what about next?
@pradyumnaramesh42269 ай бұрын
josh moved to mac?
@paw5659 ай бұрын
I think it's easier to just use next js
@dantelooper22839 ай бұрын
I wonder how React devs feel when they use Angular Routing System.
@disinfect7779 ай бұрын
react devs use nextjs anyway
@LlamaPony7 ай бұрын
💥
@barcalover0169 ай бұрын
how much did they pay you? this is just an ad guys
@jayandran2007Ай бұрын
Remix is better if you understand how it works.
@Zagoorland9 ай бұрын
It's only for "vanilla" react only, right? Like for dashboards, or SPAs. Vite + react is not widely used anymore, due to SSR libs like Next. It's a shame, because this library looks very cool indeed.
@iced29169 ай бұрын
I would say react by its own is still used a lot
@gcash499 ай бұрын
dont be fooled by twitter and reddit, react + vite is still used
@gorandigitalnomad9 ай бұрын
JavaScript influencer is very popular job on youtube, obviously🙄
@vinniv68069 ай бұрын
yeah.... another JS library... doing exactly same job, like many other....
@KevinVandyTech9 ай бұрын
TanStack Router has so many innovations compared to other client-side and framework routers. It's actually a game-changing library.
@rayyanabdulwajid76819 ай бұрын
@@KevinVandyTech Tanstack is excellent for data fetching and it's headless data grid. I don't know about this routing.
@h051n9 ай бұрын
naahh setup takes to long
@essamal-mansouri26898 ай бұрын
Obviously if it's a small project with nothing important then this is not worth the setup but for anything where you want resilience and the type checking this is worth it even if it takes ten times longer
@knsense9 ай бұрын
how can you title this "I'm never using react router again" then proceed to say "I don't know what an outlet is". Did you ever use react-router to begin with?
@kurwacherry9 ай бұрын
isnt tanstack basically react query?
@ArcticPrimal9 ай бұрын
Tanstack Query is the new name for react query. Josh is showing a different Tanstack product called Tanstack Router, which is equivalent to react-router(made by Remix devs) but different from Tanstack Router
@lasindunuwanga52929 ай бұрын
Are we really gonna forget the fact that this is for SPAs? All those SPAs will eventually become websites backed by a full-stack framework once those developers get to know about the drawbacks of SPAs. Then this package is in stone unless it is adopted by NextJS. I don't think that would happen either because NextJS and React-Router are maintained by Vercel. Pretty sad ;( Not for me though, because I don't like the maintainer of TanStack.
@ehm-wg8pd9 ай бұрын
enough of click bait
@electroheadfx9 ай бұрын
incroyable, its too fast ;) thx
@DaPaBe19999 ай бұрын
The cool kids like to use TypeScript ("i cannot longer use vanilla js")
@ivangechev42439 ай бұрын
Outlet is for putting children
@robertsandiford62239 ай бұрын
You're still using raw react? Why?
@denissorn9 ай бұрын
Why wouldn't he? For many projects SPA can be a better way of doing things. E.g. you have third party or own web APIs in doesn't matter which language, and you're building an actual application, not a web site (ERP, banking, Book keeping stuff etc) where you would care about SEO and random people.
@robertsandiford62239 ай бұрын
@@denissorn What are you using to make these apps? CRA?
@denissorn9 ай бұрын
@@robertsandiford6223 last time I worked with react I used vite. Not sure what's the current best/recommended way to do it, but if I would simply search the web and check the situation/recommendedations. Vite worked quite well for me, and migrating projects from CRA to Vite was pretty straightforward and simple.
@nothotdog58 ай бұрын
@@robertsandiford6223 React + Vite. CRA is dead
@FranFiori949 ай бұрын
You will probably switch to Remix in the future so i think ull be using react router