Skip to content

Is there a way to use type inference with useRouteData? #96

Closed Answered by sergiodxa
Rocinante89 asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use the Remix’s SerializeFrom type to infer the result of the loader

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lili21
Comment options

@sergiodxa
Comment options

Answer selected by Rocinante89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants