Apply rate limit to query and mutations #2779
Unanswered
samarthhegdekalgar
asked this question in
Q&A
Replies: 3 comments
-
support it. Will be very helpful! |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 It's quite popular that many 3rd party APIs implement rate limits, would be great to handle it at client level |
Beta Was this translation helpful? Give feedback.
0 replies
-
Had a useEffect vs useMutation bug that spammed my server hard (couple of thousand requests in a few seconds). Some kind of client side rate limit would be nice to help prevent this. |
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
-
Hello, we are facing a unique problem with API's, our backend has rate limit for all the mutations that means we can call any particular mutation only once per second, and we have a multiple mutations which will be called many times within a second. I wonder react-query has any options where we can control the api call and avoid API calls to overcome from rate limit problem.
Beta Was this translation helpful? Give feedback.
All reactions