Skip to content

Commit 17b208a

Browse files
authored
docs: fix typo in Prevent rerenders with useShallow section (#2761)
1 parent 6b29015 commit 17b208a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/prevent-rerenders-with-use-shallow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav: 16
66
When you need to subscribe to a computed state from a store, the recommended way is to
77
use a selector.
88

9-
The computed selector will cause a rererender if the output has changed according to [Object.is](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is?retiredLocale=it).
9+
The computed selector will cause a rerender if the output has changed according to [Object.is](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is?retiredLocale=it).
1010

1111
In this case you might want to use `useShallow` to avoid a rerender if the computed value is always shallow
1212
equal the previous one.

0 commit comments

Comments
 (0)