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
Scotty Waggoner edited this page May 29, 2019
·
2 revisions
Tooling Implementation:
Best Practices:
Screens should load their own data or use fragments and have their parent load the data
Specify a fetchPolicy that makes sense for your query. cache-first (the default) is probably good for loading infrequently used data. cache-and-network is probably good if the data on the server changes frequently (but results in more server load) or if the user has no way to pull to refresh. network-only works for refreshing data that you don't need to use immediately.