diff --git a/docs/guides/prevent-rerenders-with-use-shallow.md b/docs/guides/prevent-rerenders-with-use-shallow.md index 8bcbe7f8b5..2b19a0dfa9 100644 --- a/docs/guides/prevent-rerenders-with-use-shallow.md +++ b/docs/guides/prevent-rerenders-with-use-shallow.md @@ -6,7 +6,7 @@ nav: 16 When you need to subscribe to a computed state from a store, the recommended way is to use a selector. -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). +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). In this case you might want to use `useShallow` to avoid a rerender if the computed value is always shallow equal the previous one.