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
I would like to use React Adopt with Formik and Apollo Client. I am getting initial form data in getUser but first time I am getting empty data object with loading flag, and when the result came back from server, loading flag turn to false and I get the result. Using following snippet, Formik always initialised with empty array, because rendering Formik doesn't wait for loading=false.
I would like to use React Adopt with Formik and Apollo Client. I am getting initial form data in
getUser
but first time I am getting emptydata
object withloading
flag, and when the result came back from server,loading
flag turn to false and I get the result. Using following snippet, Formik always initialised with empty array, because rendering Formik doesn't wait for loading=false.Without React Adopt my code looks like this:
How can I achieve it with React Adopt?
The text was updated successfully, but these errors were encountered: