Skip to content

Commit 8b1c38d

Browse files
committed
docs(store): say an in-place NgRx change can show late, not when
1 parent 8f633cd commit 8b1c38d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/docs/src/content/inspectors/ngrx-store.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Use `provideStore()` or `StoreModule.forRoot()`. The overlay stops looking after
290290

291291
### State changed in place
292292

293-
The tab rereads a store only when its state object is a new one, as NgRx creates on every change. Code that changes a nested object in place, without `patchState` or a reducer, leaves the tab on the old values until the next real change.
293+
The tab can miss a change made in place to a nested object, without `patchState` or a reducer. It may show the old values until something else rebuilds the report, such as the next real change or a recorded action. Use `patchState`, or a reducer that returns new objects.
294294

295295
### Redaction
296296

‎packages/devtools/CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ What remains: `/config` exports `DEFAULT_POPUP_HOTKEY`, `PANGULAR_ACTIONS`, `PAN
181181

182182
- Pages push deltas instead of full snapshots, at most about once a second, and idle pages send only a small heartbeat.
183183
- NgRx store updates no longer slow down as the store grows (#432).
184-
- The NgRx collector serializes a signal store or the classic `Store` only when its state, computed values or method stats changed, and the overlay compares a report version instead of the serialized report, so an unchanged store costs no serialization on each check. A change made in place, without a new state object, shows at the next real change (#368).
184+
- The NgRx collector serializes a signal store or the classic `Store` only when its state, computed values or method stats changed, and the overlay compares a report version instead of the serialized report, so an unchanged store costs no serialization on each check. A change made in place, without a new state object, can show late (#368).
185185
- Collectors schedule their work outside the Angular zone, so an app that writes a signal or logs during change detection settles again on zone.js.
186186
- Long lists and trees in the panel render only the visible rows.
187187
- The agent tool list is much smaller: shorter descriptions, and library tools only for apps that use them.

0 commit comments

Comments
 (0)