Skip to content

Commit

Permalink
Add devModeChecks to hooks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Dec 3, 2023
1 parent ad2ec13 commit 05f5351
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/api/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ export type DevModeCheckFrequency = 'never' | 'once' | 'always'

interface UseSelectorOptions {
equalityFn?: EqualityFn
stabilityCheck?: DevModeCheckFrequency
identityFunctionCheck?: DevModeCheckFrequency
devModeChecks?: {
stabilityCheck?: DevModeCheckFrequency
identityFunctionCheck?: DevModeCheckFrequency
}
}

const result: Selected = useSelector(
Expand Down

0 comments on commit 05f5351

Please sign in to comment.