React Router 7 Tutorial

  Рет қаралды 9,205

Remix

Remix

Күн бұрын

Пікірлер: 50
@bholmesdev
@bholmesdev 12 күн бұрын
You did it. You finally made routing simple. The answer wasn’t pure file based or pure config based, but somewhere in the codegen middle. Thanks for pushing through to find the solution!
@MrJeyOnCrossfit
@MrJeyOnCrossfit 2 күн бұрын
So much value in this video, very usefull to get hands on react router 7. Thanks to all the team!
@ginger-viking
@ginger-viking 6 сағат бұрын
Great tutorial, thanks
@aharef
@aharef 4 күн бұрын
Awesome tech, awesome tutorial, thank you!
@the_beckers_food
@the_beckers_food 12 күн бұрын
I have been waiting for this video! Thank you.
@shivamjhaa
@shivamjhaa 13 күн бұрын
This is really, really good. Everything coming together
@sajadtorkamani9399
@sajadtorkamani9399 11 күн бұрын
Very exciting - nice tutorial!
@iriel492ki
@iriel492ki 13 күн бұрын
How do you handle auth with the new React Router 7? Is it basically the same as Remix?
@Remix-Run
@Remix-Run 13 күн бұрын
Yes, all strategies that worked in Remix apply in React Router if you're using the Vite plugin (framework mode) The popular library remix-auth has already been updated to support React Router 7: github.com/sergiodxa/remix-auth
@eleah2665
@eleah2665 12 күн бұрын
Thanks Brooks. Very helpful.
@brianmwangi6599
@brianmwangi6599 12 күн бұрын
Hey Brooks, why did you put the action function for creating new contacts in the root.tsx instead of sidebar.tsx?
@Adityacode
@Adityacode 10 күн бұрын
It's upto you where you want to put it
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
I probably should have explained it better, but it's because you can't have an action in a layout route, since a layout doesn't have a URL and to trigger an action you have to POST (or PUT or whatever non-GET thing you're doing) to a specific URL. In this case the root is where the form would POST to by default default ("localhost:5173/"), so I just put it in there. You could set the action field on the form to whatever url you want and create an action function in a resource route (like we did with routes/destroy-contact) if you want to, which honestly might be a little more clear.
@HaroldAnderson-of6gb
@HaroldAnderson-of6gb 10 күн бұрын
Is there a simpler introduction to React Router 7? This video went over my head very quickly. I have tried unsuccessfully to work through the tutorial on the documentation, but it does not explain the concepts either. Thanks.
@refeals
@refeals 13 күн бұрын
Awesome tutorial, thanks!
@philippeaka2772
@philippeaka2772 12 күн бұрын
Great tutorial!!
@thethmuueinsoe
@thethmuueinsoe 10 күн бұрын
We cannot deploy to Vercel anymore after upgrading react-router 6 to 7 framework mode. Could you please give me reference or guide?
@saurabh75prakash
@saurabh75prakash 13 күн бұрын
How can we build mdx blog site with RR7? Is there any example repo
@frozen_tortus
@frozen_tortus 13 күн бұрын
how would you quickly go to visit route file from routes? cmd+click wont work because its not full path? Also, you cant auto complete corect? I tried it and so far my experience was painfull with gotchas like that. Editor shows all is fine, then I open an app and its not working, turns out path is wrong, and terminal shows err, and its not like you made errors easy to read.
@AlexanderDensley
@AlexanderDensley 13 күн бұрын
any plans to release docs on using supabase auth with the new rr v7? would be greatly appreciated
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
Probably not on our site, but there are likely some community resources out there, and we expect supabase to create some resources as well. Given that they're the experts anything they create is going to be better than what we do. Additionally, as soon as we create a doc for one auth/database provider, we feel the need to create docs for all of them. They quickly get out of date and prove to not be very useful, so we find it better when the community/providers themselves create these resources.
@designerjehovah4453
@designerjehovah4453 12 күн бұрын
this is so exciting
@qapplor
@qapplor 11 күн бұрын
still no middleware? I have to copy paste auth logic into every route?
@Adityacode
@Adityacode 10 күн бұрын
We need it fast
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
We're working on it! Thanks for your patience
@manutechashuman
@manutechashuman 12 күн бұрын
Love the tutorial! is it possible to get access to this repository? Thanks!
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
It's just in the react-router repo under the "tutorial/" directory
@manutechashuman
@manutechashuman 10 күн бұрын
@@ReactTipsWithBrooks cool! I was looking for contacts and it was address book 🤦
@Adityacode
@Adityacode 10 күн бұрын
When will we get middleware?? Really cool tutorial btw.
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
Soon!
@jeffsegovia00
@jeffsegovia00 13 күн бұрын
Thanks Brooks. 🎉
@ReactTipsWithBrooks
@ReactTipsWithBrooks 13 күн бұрын
No problem!
@TheMERABANABER
@TheMERABANABER 13 күн бұрын
I'm never using tanstack router ever again, thank god
@bholmesdev
@bholmesdev 11 күн бұрын
Yeah, I wanted to enjoy it but I was slammed with a wall of complexity when onboarding. Partially the docs, partially the verbose API design. RR v7 feels far nicer to start
@TheMERABANABER
@TheMERABANABER 10 күн бұрын
@@bholmesdev I hate the docs, most of what you actually need is outdated... The focus is very narrowed on ssr
@AbuBakr1
@AbuBakr1 13 күн бұрын
Can someone please explain to me . Remix and react router: are these two different framework? Am currently building sites with remix.
@danestevens1
@danestevens1 13 күн бұрын
Remix is now react-router (framework mode).
@Remix-Run
@Remix-Run 13 күн бұрын
What @danestevens1 said We announced this direction back in May and finished the work not to long ago You can read more about our strategy here: remix.run/blog/incremental-path-to-react-19
@lamhung4899
@lamhung4899 12 күн бұрын
Remix is nothing but React ROUTER + "framework" features
@AbuBakr1
@AbuBakr1 12 күн бұрын
@@danestevens1 wow that's amazing
@AbuBakr1
@AbuBakr1 12 күн бұрын
@@danestevens1 wow this is awesome
@prashlovessamosa
@prashlovessamosa 13 күн бұрын
Thanks for sharing
@vfshera
@vfshera 13 күн бұрын
THis is great!
@ytuser6276
@ytuser6276 10 күн бұрын
2:02 import from "@rem-... @react-router haha
@ReactTipsWithBrooks
@ReactTipsWithBrooks 10 күн бұрын
🥲
@itsZavier_1
@itsZavier_1 12 күн бұрын
thanks
@dodiiiii1
@dodiiiii1 12 күн бұрын
Great content. Very intuitive and fluid. Thanks Brooks! Q: How soon is RR7 integrating in hydrogen? The Shopify Winter Edition was disappointing in that regard.
Forms with React 19 and Next.js
9:13
leerob
Рет қаралды 29 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Vanilla React | Ryan Florence
25:56
React Conf
Рет қаралды 23 М.
React Router V7 just dropped, here's why you should care
29:11
Theo - t3․gg
Рет қаралды 41 М.
Is Tanstack Router Better Than React-Router?
18:00
Jack Herrington
Рет қаралды 41 М.
Remix Roadmap Planning #16
59:20
Remix
Рет қаралды 6 М.
Introduction to Payload - The open-source Next.js backend
13:29
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 180 М.
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 216 М.
🔴  Build the Uber clone in React Native (Tutorial for Beginners)
3:43:51
Remix (now React Router) is the future of React.js
13:23
Daniel Bergholz
Рет қаралды 7 М.