Skip to content

Commit 7258c29

Browse files
authored
Remove deprecation notice and change some language (#13006)
1 parent 7ea886e commit 7258c29

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/source/local-state/local-state-management.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sequenceDiagram
2222
Cache->>GraphQL Server: Queries remote fields;
2323
Note over GraphQL Server: Resolves remote fields;
2424
GraphQL Server->>Cache: Returns remote fields;
25-
Note over Cache: Caches remote fields*;
25+
Note over Cache: Caches remote fields;
2626
Cache->>Apollo Client: Returns ALL fields;
2727
Note over Apollo Client: Time passes…;
2828
Apollo Client->>Cache: Executes same query;
@@ -31,9 +31,7 @@ sequenceDiagram
3131
Cache->>Apollo Client: Returns ALL fields;
3232
```
3333

34-
To support this flow, Apollo Client 3 introduces two complementary mechanisms for managing local state: [field policies](#field-policies-and-local-only-fields) and [reactive variables](#reactive-variables).
35-
36-
> \* The [local resolver API](./local-resolvers/) from previous versions of Apollo Client is also available but is [deprecated](./local-resolvers/#deprecation-notice). Some additional steps may occur when using this, e.g. the `@client(always:true)` directive would recalculate local field resolvers after remote fields are cached.
34+
To support this flow, Apollo Client introduces two complementary mechanisms for managing local state: [field policies](#field-policies-and-local-only-fields) and [reactive variables](#reactive-variables).
3735

3836
## Field policies and local-only fields
3937

@@ -55,8 +53,6 @@ Whenever the value of a reactive variable changes, Apollo Client automatically d
5553

5654
## Local resolvers
5755

58-
In earlier versions of Apollo Client, you define **local resolvers** to populate and modify local-only fields. These resolvers are similar in structure and purpose to the [resolvers that your GraphQL server defines](/apollo-server/data/resolvers/).
59-
60-
This functionality is still available in Apollo Client 3, but will be moved out of the core module in a future major release.
56+
You define **local resolvers** to populate and modify local-only fields. These resolvers are similar in structure and purpose to the [resolvers that your GraphQL server defines](/apollo-server/data/resolvers/).
6157

6258
[Learn more about local resolvers](./local-resolvers)

0 commit comments

Comments
 (0)