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
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Hi,
I have noticed that after upgrade to new version with new api, I sometimes don't get refetch in props. By sometimes I mean when component is remounted (I go to other page and go back using react-router).
This is on first load errors : null fetchMore : (vars) loading : true refetch : (vars) startPolling : (pollInterval) stopPolling : () variables : undefined __proto__ : Object
This is after remount: errors : null getMyLastParticipations : Array[1] loading : false variables : undefined __proto__ : Object
I am not sure If I am just not getting some part of how the client works, but I would really need refetch to be available at all times. For example, if user logouts and then other user login, he will see old users data since the refetch didn't happen.
The text was updated successfully, but these errors were encountered:
Yep this was a bug! refetch and fetchMore don't exist before the componentDidMount method is called since an observable query isn't setup yet. I've added a mocked way to call those which will run a normal query until they are replaced by the actual observer.
Hi,
I have noticed that after upgrade to new version with new api, I sometimes don't get refetch in props. By sometimes I mean when component is remounted (I go to other page and go back using react-router).
This is on first load
errors : null fetchMore : (vars) loading : true refetch : (vars) startPolling : (pollInterval) stopPolling : () variables : undefined __proto__ : Object
This is after remount:
errors : null getMyLastParticipations : Array[1] loading : false variables : undefined __proto__ : Object
I am not sure If I am just not getting some part of how the client works, but I would really need refetch to be available at all times. For example, if user logouts and then other user login, he will see old users data since the refetch didn't happen.
The text was updated successfully, but these errors were encountered: