Skip to content

Commit b2b8a1b

Browse files
committed
update
1 parent e7d189e commit b2b8a1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/routes/reference/store-utilities/reconcile.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ Store modifier function.
6161

6262
## Behavior
6363

64-
- `reconcile` performs a diff between the current state and `value`.
65-
- With the default `key`, array items are matched by `"id"`.
66-
- When `merge` is `false`, non-matching branches can be replaced.
67-
- When `merge` is `true`, reconciliation pushes updates deeper into the structure.
64+
- `reconcile` is for reconciling an incoming snapshot against existing store state.
65+
- With the default `key`, array items are matched by `"id"` where possible and otherwise fall back to positional or reference matching.
66+
- Non-wrappable values are replaced directly.
67+
- When `merge` is `false`, reconciliation prefers replacing non-matching branches. When `merge` is `true`, it pushes updates deeper into the structure.
6868

6969
## Examples
7070

0 commit comments

Comments
 (0)