You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what's incorrect/missing in the documentation
TIL, there are now props passed to the Component default in a route module. These simplify things a bit from having to import the hooks and hook up the type generics on your own. Lots of boilerplate is now gone!
Describe what's incorrect/missing in the documentation
TIL, there are now props passed to the Component
default
in a route module. These simplify things a bit from having to import the hooks and hook up the type generics on your own. Lots of boilerplate is now gone!We should probably, you know, tell people that 😄 I would suggest expanding this section: https://reactrouter.com/start/framework/route-module#component-default
The text was updated successfully, but these errors were encountered: