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
including a queryFn that was supposed to wait some delay before resolving.
Except it never worked. when I added a bunch of logging, the upsert did indeed update the state first, then the fetch, but somehow the upsertRes promise never resolved until the fetch update was complete. I couldn't figure out if it was a problem with my test code, or the "running promises" logic.
This may be related to #2477 / #2481 in some way, or it could be a different promises bug.
The text was updated successfully, but these errors were encountered:
While testing
upsertQueryData
, I was doing something like this:including a
queryFn
that was supposed to wait some delay before resolving.Except it never worked. when I added a bunch of logging, the upsert did indeed update the state first, then the fetch, but somehow the
upsertRes
promise never resolved until the fetch update was complete. I couldn't figure out if it was a problem with my test code, or the "running promises" logic.This may be related to #2477 / #2481 in some way, or it could be a different promises bug.
The text was updated successfully, but these errors were encountered: