When I call refetch, I can see it send a network request to my graphql endpoint and retrieve my updated result. If I console log my store, I can see the updated result there, but here in const [result, refetch] , the result is not updated. Any idea why is that?
When I call
refetch
, I can see it send a network request to my graphql endpoint and retrieve my updated result. If I console log my store, I can see the updated result there, but here inconst [result, refetch]
, the result is not updated. Any idea why is that?