Apollo: Performance Management Playbook 2020 Flashcards

1
Q

05 Using Apollo Client for Redux-like State Management / 01 Understand How to Manage State with the Apollo Client

3 Apollo client Features for Managing State

A
  1. creating and updating virtual or local-only fields in GQL
  2. creating and updating global or reactive variables stored in the Apollo Client instance
  3. fetching local-only fields that include reactive variables resulting in full state management in your app
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

07 Using the DataLoader to Improve Server Response Times / 01 Learn Why We Need a DataLoader

Is DataLoader caching data?

A

No, it is just for batching.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

07 Using the DataLoader to Improve Server Response Times / 03 Add a DataLoader for Retrieving a Room for Each Conference Session

What is a DataLoader pattern?

A
  1. Resolver stores id
  2. Resolver returns promise
  3. DataLoader request all ids
How well did you know this?
1
Not at all
2
3
4
5
Perfectly