Is there any option like middleware to extend react-query #5877
Unanswered
krishnasaga
asked this question in
Q&A
Replies: 1 comment 3 replies
-
what would be a use-case? all the examples listed on that docs page can be achieved differently with built-in solutions |
Beta Was this translation helpful? Give feedback.
3 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.
-
Having middleware like extendable feature allows to create more higher-level abstractions like convention-based cache keys.
useSWR has middleware feature.
https://swr.vercel.app/docs/middleware
Beta Was this translation helpful? Give feedback.
All reactions