How to use a callback #745
Unanswered
diegoarcega
asked this question in
General
Replies: 1 comment 8 replies
-
https://react-query.tanstack.com/docs/api#usequery use |
Beta Was this translation helpful? Give feedback.
8 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.
-
I want to do something like this
https://github.com/slorber/react-async-hook#usecase-injecting-async-feedback-into-buttons
I need a callback returned from the use query hook. When I click on a list of products, I need to request data and then redirect the user to a new page.
In the docs this is not explained or not explained very well.
Beta Was this translation helpful? Give feedback.
All reactions