Trying to merge from v4 to v5 fixing a onSuccess callback #6903
Unanswered
gmcamposano
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried a number of different things. Most of them involving different scenarios with useEffect, but it end up happening the following results:
The above example ends up always returning the query as true, event though the useEffect set it up as false. The search button is supposed to just set it true until its success and then back to false, while keeping the data.
Beta Was this translation helpful? Give feedback.
All reactions