Replies: 1 comment 4 replies
-
yes, you can. react-query only cares about the promises returned from the queryFn. with POST requests, you can't do caching on network level in the browser, but that's a different topic :) |
Beta Was this translation helpful? Give feedback.
4 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.
-
All of apis that backend provided me are post methods. I read that useQuery provides caching functionality. Can i use caching in react-query despite my apis post methods?
Beta Was this translation helpful? Give feedback.
All reactions