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
[NetworkManager](https://dataclient.io/docs/api/NetworkManager) constructor now uses keyword arguments for clarity.
164
+
[NetworkManager](/docs/api/NetworkManager) constructor now uses keyword arguments for clarity.
165
165
166
166
<DiffEditor>
167
167
@@ -181,7 +181,7 @@ React 18+ concurrent mode and automatic batching change how we should optimize.
181
181
182
182
### Immediate Fetching
183
183
184
-
[NetworkManager](https://dataclient.io/docs/api/NetworkManager) now fetches immediately rather than waiting for idle callbacks. [#3146](https://github.com/reactive/data-client/pull/3146)
184
+
[NetworkManager](/docs/api/NetworkManager) now fetches immediately rather than waiting for idle callbacks. [#3146](https://github.com/reactive/data-client/pull/3146)
185
185
186
186
This results in faster data loading, especially for applications with complex render trees.
187
187
@@ -213,7 +213,7 @@ Schema APIs reduce boilerplate for common patterns while enabling more advanced
213
213
214
214
### Query Joins
215
215
216
-
[Query](https://dataclient.io/rest/api/Query) can now take [Object Schemas](https://dataclient.io/rest/api/Object), enabling joins across multiple entity types. [#3165](https://github.com/reactive/data-client/pull/3165)
216
+
[Query](/rest/api/Query) can now take [Object Schemas](/rest/api/Object), enabling joins across multiple entity types. [#3165](https://github.com/reactive/data-client/pull/3165)
New [EntityMixin](https://dataclient.io/rest/api/EntityMixin) for composing Entity behavior with existing classes. [#3243](https://github.com/reactive/data-client/pull/3243)
243
+
New [EntityMixin](/rest/api/EntityMixin) for composing Entity behavior with existing classes. [#3243](https://github.com/reactive/data-client/pull/3243)
[Entity.pk()](https://dataclient.io/rest/api/Entity#pk) now defaults to `this.id`. [#3188](https://github.com/reactive/data-client/pull/3188)
262
+
[Entity.pk()](/rest/api/Entity#pk) now defaults to `this.id`. [#3188](https://github.com/reactive/data-client/pull/3188)
263
263
264
264
<DiffEditor>
265
265
@@ -280,15 +280,14 @@ class Todo extends Entity {
280
280
id ='';
281
281
title ='';
282
282
completed =false;
283
-
// pk() uses 'id' by default!
284
283
}
285
284
```
286
285
287
286
</DiffEditor>
288
287
289
288
### Dynamic Invalidation
290
289
291
-
Return `undefined` from [Entity.process()](https://dataclient.io/rest/api/Entity#process) to dynamically [invalidate](https://dataclient.io/docs/concepts/expiry-policy#invalidate-entity) entities based on response data. [#3407](https://github.com/reactive/data-client/pull/3407)
290
+
Return `undefined` from [Entity.process()](/rest/api/Entity#process) to dynamically [invalidate](/docs/concepts/expiry-policy#invalidate-entity) entities based on response data. [#3407](https://github.com/reactive/data-client/pull/3407)
292
291
293
292
```ts
294
293
classPriceLevelextendsEntity {
@@ -329,7 +328,7 @@ Testing should be simple. New helpers use sensible defaults to eliminate boilerp
329
328
330
329
### renderDataHook()
331
330
332
-
New [renderDataHook()](https://dataclient.io/docs/api/renderDataHook) uses the default [DataProvider](https://dataclient.io/docs/api/DataProvider), eliminating `makeRenderDataHook()` boilerplate. [#3238](https://github.com/reactive/data-client/pull/3238)
331
+
New [renderDataHook()](/docs/api/renderDataHook) uses the default [DataProvider](/docs/api/DataProvider), eliminating `makeRenderDataHook()` boilerplate. [#3238](https://github.com/reactive/data-client/pull/3238)
@@ -354,7 +353,7 @@ Long-running applications accumulate stale data in memory. New garbage collectio
354
353
355
354
### GCPolicy
356
355
357
-
[GCPolicy](https://dataclient.io/docs/api/GCPolicy) enables automatic garbage collection of stale data. [#3343](https://github.com/reactive/data-client/pull/3343)
356
+
GCPolicy enables automatic garbage collection of stale data. [#3343](https://github.com/reactive/data-client/pull/3343)
[NetworkManager](https://dataclient.io/docs/api/NetworkManager) now fetches immediately rather than waiting for idle. This improves performance with React 18+. [#3146](https://github.com/reactive/data-client/pull/3146)
406
+
[NetworkManager](/docs/api/NetworkManager) now fetches immediately rather than waiting for idle. This improves performance with React 18+. [#3146](https://github.com/reactive/data-client/pull/3146)
408
407
409
408
To keep the previous behavior, use `IdlingNetworkManager`:
0 commit comments