You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,10 @@ if (dataState === 'complete') {
88
88
89
89
### `@defer` Support Evolution
90
90
91
-
Apollo Client v4 introduces a pluggable incremental delivery system for the `@defer` directive. This gives developers the flexibility to define which incremental delivery protocol to use, with the flexibility needed to adapt to any further specification changes.
91
+
Apollo Client v4 introduces a pluggable incremental delivery system for the `@defer` directive. This gives developers the flexibility to define which incremental delivery protocol to use without sacrificing compatibility with any further specification changes. Please note that Apollo Client 4.0 intentionally does not specifcy a default implementation since incremental delivery is still not merged into the draft GraphQL specification. Users must opt into a specific protocol version.
92
92
93
93
**Pluggable Implementation:**
94
94
- Configure incremental delivery through the `incrementalHandler` option
95
-
- Ships without a default implementation for maximum flexibility
96
95
- Available handlers:
97
96
-`NotImplementedHandler` (default)
98
97
-`Defer20220824Handler` (Apollo Router format)
@@ -166,6 +165,24 @@ All React-related exports have moved to dedicated entrypoints:
166
165
167
166
In previous versions, users sometimes inadvertently imported React modules through seemingly unrelated paths. In v4 we resolve these footguns to make it more transparent when React-only modules are being imported.
168
167
168
+
**React Compiler Support (Experimental):**
169
+
Apollo Client v4 ships with React Compiler-optimized hooks available at `@apollo/client/react/compiled`. This experimental feature provides:
170
+
- Pre-compiled React hooks optimized by the React Compiler
171
+
- Drop-in replacement for standard React hooks
172
+
- Potential performance improvements in React 19+ applications
0 commit comments