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
Mimicking Query.fetch, but instead of fetching from the server, only check the cache. This isn't "native" to Relay (Relay does not provide a fetchQuery that checks the cache out of the box), so it'll need some code.
One way is to just add ~checkCache=? to Query.fetch.
The text was updated successfully, but these errors were encountered:
zth
changed the title
[feature] Add way to resolve a query only from local cache
[feature] Add way to resolve a query fetch only from local cache
Apr 22, 2020
Mimicking
Query.fetch
, but instead of fetching from the server, only check the cache. This isn't "native" to Relay (Relay does not provide afetchQuery
that checks the cache out of the box), so it'll need some code.One way is to just add
~checkCache=?
toQuery.fetch
.The text was updated successfully, but these errors were encountered: