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
The onError and related useQuery event handlers should be pretty easy to do. The mutate handler, I agree that it's simple enough just to rely on the promise of the mutate function. I think it's better control flow there tbh.
Would it be beneficial to add support for on fetch (or state change) event handlers since useEffect can be delayed or not run at all?
Example,
On the last example, we can probably handle this in the event that made the call to
mutate
:The text was updated successfully, but these errors were encountered: