Replies: 1 comment
-
Take a look at #2276 - we export some "more nicely typed" exports there. I'm not sure if adding a Could you maybe do a PR against that PR? ^^ |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to extract a selectFromResult function to it's own function outside of calling the endpoint via react hooks, so that I may use it for multiple endpoints but I'm unsure of how to type it correctly. What's the template parameter supposed to be?
I gave it a try and managed to make it work would you believe that, however I had to patch redux by exporting
UseQueryStateDefaultResult
. It's not pretty and I'm sure there's a nicer way.Beta Was this translation helpful? Give feedback.
All reactions