Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: Document Route.ComponentProps #12831

Open
timdorr opened this issue Jan 22, 2025 · 0 comments
Open

[Docs]: Document Route.ComponentProps #12831

timdorr opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@timdorr
Copy link
Member

timdorr commented Jan 22, 2025

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

@timdorr timdorr added the docs label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant