Function that gets executed when data is successfully queried from cache or first time #7486
Unanswered
pietroanello
asked this question in
Ideas
Replies: 1 comment
-
depends on what code you'd want to execute? Remember that reading from the cache is a synchronous action, so you would be in render when that happens ... |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I searched a lot for something like this, and I've read a lot about why the onSuccess callback was removed, but I haven't found any good alternative to execute code when data is retrieved from cache.
Beta Was this translation helpful? Give feedback.
All reactions