-
Notifications
You must be signed in to change notification settings - Fork 1
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-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.