Lightweight wrapper around RTKQ hook that preserves the ability to provide options #4714
Unanswered
agusterodin
asked this question in
Q&A
Replies: 1 comment
-
You may want to type that hook as a |
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
-
I'm trying to wrap an RTKQ hook so that I don't need to retrieve the
uid
query parameter from the router every time I use it. Unfortunately, all properties disappear from the return type except forrefetch
.Beta Was this translation helpful? Give feedback.
All reactions