-
Notifications
You must be signed in to change notification settings - Fork 2
GraphQL
Scotty Waggoner edited this page May 29, 2019
·
2 revisions
- 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-networkis 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-onlyworks for refreshing data that you don't need to use immediately.