Skip to content

Commit 8defc79

Browse files
committed
📝 fix typos
1 parent b8f81bc commit 8defc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ world
364364
.updateEach(([position, velocity]) => {}, { changeDetection: 'always' })
365365
```
366366
367-
Changed detection shallowly compares the scalar values with, just like React. This means objects and arrays will only be detected as changed if a new array or object is committed to the store. While immutable state is a great design pattern, it creates memory pressure and reduces performance so instead you can mutate and manually flag a changed has occured.
367+
Changed detection shallowly compares the scalar values just like React. This means objects and arrays will only be detected as changed if a new object or array is committed to the store. While immutable state is a great design pattern, it creates memory pressure and reduces performance so instead you can mutate and manually flag that a changed has occured.
368368
369369
```js
370370
// ❌ This change will not be detected since the array is mutated and will pass the comparison

0 commit comments

Comments
 (0)