Skip to content

Commit 9a617b3

Browse files
EskiMojo14markerikson
authored andcommitted
Copy over wording changes
1 parent 7039625 commit 9a617b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ const { count, user } = useSelector((state) => ({
262262
}))
263263
```
264264

265-
If a selector result is suitably stable, or memoised, it will not return a different result and thus not cause a warning to be logged.
265+
If a selector result is suitably stable (or the selector is memoized), it will not return a different result and no warning will be logged.
266266

267-
By default, this will only happen when the selector is first called. You can configure the check via context, or per `useSelector` call - either to run the check always, or never.
267+
By default, this will only happen when the selector is first called. You can configure the check in the Provider or at each `useSelector` call.
268268

269269
```tsx title="Global setting via context"
270270
<Provider store={store} stabilityCheck="always">

0 commit comments

Comments
 (0)