Once fragment has 'once' directive, all refetch queries get data from Relay Store and not from API.
@fedbalves Refetch container has fetchPolicy with store-or-network value. Is this what are you looking for? https://relay.dev/docs/en/refetch-container#arguments-1
@fedbalves Refetch container has
fetchPolicywithstore-or-networkvalue. Is this what are you looking for? https://relay.dev/docs/en/refetch-container#arguments-1
Maybe. I'll look into it.
Thanks
use fetchPolicy to fix this
also read this to improve your cache strategy
https://medium.com/@helielson/caching-fields-on-relay-modern-with-hooks-30d76502e404
Most helpful comment
use fetchPolicy to fix this
also read this to improve your cache strategy
https://medium.com/@helielson/caching-fields-on-relay-modern-with-hooks-30d76502e404