📣 Just published: React Router v6.0.0-alpha.0 👀 - Relative routes + links - Nested routes ala v3 - Automatic route ranking - Suspense-ready navigation - Object-based route config with useRoutes Our most ambitious release since v4 🤘 Release notes 👇 github.com/ReactTraining/…
📣 Also published this week: Reach UI v0.8.0 🔥 Meet our newest additions: - reach/accordion - reach/checkbox - reach/disclosure Thank you for your continued support! You all rock. Docs 👇 reacttraining.com/reach-ui/
Just pushed a quick v6.0.0-alpha.1 release that adds the history library as a regular dependency instead of a peer dependency. This should make it easier to install and test v6. Thank you all for the quick feedback. Please keep it coming! 🙏 github.com/ReactTraining/…
@ReactTraining @AdamRackis Nike React React Router 🤝 white and red dots
@ReactTraining Wow, only 1.7kB minified+gzipped. Great work guys.
@ReactTraining @DavidKPiano Alas if only it had the interface of ReasonReact router. So clean, so approachable.
@ReactTraining This looks great! I was building wrappers to support relative routes since v2. Really glad that they now work out of the box!
@ReactTraining @stolinski *extremely christmas story dad voice* “It’s a major release!”
@ReactTraining @DavidKPiano great work! We have been waiting for relative routes for years! Many thanks! One use of ReactContext tree resolver! (First Parent basepath!)
@ReactTraining Whaou. Nice release ! I hope I'll be able to upgrade all my v3 apps with nested async data loading.
@ReactTraining This whole release looks so good, especially the useRoutes that is now in the core package. However, this part of the migration guide gave me cold sweat. I hope there will be more details in the future to still support complex paths. 🤞
@ReactTraining I hope it will arrive soon, I can't wait to update it
@ReactTraining Looks solid 👍 Btw what does "Suspense-ready navigation" mean? I couldn't find any examples in the linked guides.
@ReactTraining I know this might sound silly but can we use something like useDefferedValue to deffer showing spinner for route code splitting ? Usually routes load as fast as 40ms or so. The experience would be janky if we show loading spinners for such a short time
@ReactTraining What is `Automatic route ranking`? Benefits? @mjackson
@ReactTraining If someone need redux history binding, I upgraded redux-first-history for support to react-router v6. github.com/salvoravida/re…
@ReactTraining Awesome work! How painful of an update will it be to migrate from v3 and leverage the Object-based route config?
@ReactTraining Amen to relative routes + links. Thank you.
@ReactTraining awesome work. for creating PrivateRoute we used to use render props from Route to conditionally redirect to /login page or rendering components, apparently Route will no longer takes render props. can you give a hint on how to do this ?
@ReactTraining There're any extensive API details for the useRoutes hook yet?