You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const user =useSelector(selectUser, { stabilityCheck: 'once' })
305
+
const user =useSelector(selectUser, {
306
+
devModeChecks: { stabilityCheck: 'once' },
307
+
})
304
308
// ...
305
309
}
306
310
```
307
311
308
-
#### `identityFunctionCheck`
312
+
#### Identity Function (`state => state`) Check
313
+
314
+
:::danger Breaking Change!
315
+
316
+
This was previously referred to as `noopCheck`.
317
+
318
+
:::
309
319
310
320
In development, a check is conducted on the result returned by the selector. It warns in the console if the result is the same as the parameter passed in, i.e. the root state.
311
321
@@ -330,9 +340,13 @@ By default, this will only happen when the selector is first called. You can con
0 commit comments