use fetchQuery in react-query? #838
Closed
jamalsoueidan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking to add an additional method for each generated endpoint in the TypeScript code.
Currently, I am unable to use hooks in my React app, and I tend to use options method in the following manner:
I was thinking if I could auto generate something like this below:
By implementing this feature, I can continue to obtain data from the cache and maintain the desired functionality.
Beta Was this translation helpful? Give feedback.
All reactions