Skip to content

Commit e8ed4b6

Browse files
committed
Rename CheckFrequency to DevModeCheckFrequency in docs
1 parent 4713721 commit e8ed4b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/hooks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ From there, you may import any of the listed React Redux hooks APIs and use them
4848
type RootState = ReturnType<typeof store.getState>
4949
type SelectorFn = <Selected>(state: RootState) => Selected
5050
type EqualityFn = (a: any, b: any) => boolean
51-
export type CheckFrequency = 'never' | 'once' | 'always'
51+
export type DevModeCheckFrequency = 'never' | 'once' | 'always'
5252

5353
interface UseSelectorOptions {
5454
equalityFn?: EqualityFn
55-
stabilityCheck?: CheckFrequency
56-
identityFunctionCheck?: CheckFrequency
55+
stabilityCheck?: DevModeCheckFrequency
56+
identityFunctionCheck?: DevModeCheckFrequency
5757
}
5858

5959
const result: Selected = useSelector(

0 commit comments

Comments
 (0)