You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1, i using apollo graphql in most projects, but in current needed REST API, after research in google/stackoverflow - use-http turned out to the best solution a like similar to apollo, but i faced with same problem as in thread.
Describe the bug
useFetch sends old post body data, even if you specify a dependency array
https://codesandbox.io/s/usefetch-provider-requestresponse-interceptors-forked-39tn3?file=/src/index.js
it uses an echo server
To Reproduce
see code sandbox
Expected behavior
useFetch should resend the post request when the dependency array changes
The text was updated successfully, but these errors were encountered: