Typed loader params with TS generics #11002
nik-webdevelop
started this conversation in
Proposals
Replies: 1 comment
-
Implemented this to have the same behavior as we love it in Remix, except the serialization since RR will pass us the same data we returned from the Loader and Actions. Check out #11021 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be really nice to have the ability to strictly type loader parameters. As an example, it could be something like this:
instead of typecasting all the time or jumping through hoops with self-made wrappers that solve only type problems
#10985 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions