Skip to content

Commit

Permalink
Incorporate review from hwillson
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Barlow authored and hwillson committed Jun 30, 2020
1 parent dbd1df5 commit 5fd2812
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/local-state/local-state-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ sequenceDiagram
participant GraphQL Server;
Apollo Client->>Cache: Queries local and remote fields;
Note over Cache: Populates local fields;
Note over Cache: Calculates local fields;
Cache->>GraphQL Server: Queries remote fields;
Note over GraphQL Server: Resolves remote fields;
GraphQL Server->>Cache: Returns remote fields;
Note over Cache: Caches remote fields;
Cache->>Apollo Client: Returns ALL fields;
Note over Apollo Client: Time passes…;
Apollo Client->>Cache: Executes same query;
Note over Cache: Populates ALL fields (now cached);
Note over Cache: Calculates local fields;
Note over Cache: Fetches remote fields (now cached);
Cache->>Apollo Client: Returns ALL fields;
```

Expand Down

0 comments on commit 5fd2812

Please sign in to comment.