MCPcopy Create free account

hub / github.com/antonioru/beautiful-react-hooks / functions

Functions152 in github.com/antonioru/beautiful-react-hooks

FunctionTestComponent
()
test/useMutationObserver.spec.js:53
FunctionTestComponent
()
test/useWindowScroll.spec.js:24
FunctionTestComponent
()
test/useWindowResize.spec.js:24
FunctionTestComponent
()
test/useDragEvents.spec.js:24
FunctionTestComponent
({ isAfterRerender })
test/useIsFirstRender.spec.js:15
FunctionTestComponent
()
test/useToggle.spec.js:26
FunctionTestComponent
()
test/useEvent.spec.js:25
FunctionTestComponent
()
test/useConditionalTimeout.spec.js:32
FunctionTestComponent
()
test/useGeolocationEvents.spec.js:36
FunctionTestComponent
()
test/useGeolocationState.spec.js:36
FunctionTestComponent
()
test/useTimeout.spec.js:30
FunctionTestComponent
()
test/useCookie.spec.js:78
FunctionTestComponent
()
test/useWillUnmount.spec.js:24
FunctionTestComponent
(props)
test/usePreviousValue.spec.js:24
FunctionTestComponent
()
test/useDebouncedCallback.spec.js:28
FunctionTestComponent
()
test/useRequestAnimationFrame.spec.js:39
FunctionTestComponent
()
test/useThrottledCallback.spec.js:28
FunctionTestComponent
()
test/useMouseEvents.spec.js:31
FunctionTestComponent
()
test/useGlobalEvent.spec.js:26
FunctionaddEventListener
(cb)
test/mocks/MatchMediaQueryList.mock.js:4
FunctionclearWatch
()
test/mocks/GeoLocationApi.mock.js:30
Methodconstructor
(fn)
test/mocks/IntersectionObserver.mock.js:2
Methodconstructor
()
test/mocks/AudioApi.mock.js:6
Methodconstructor
(fn)
test/mocks/ResizeObserver.mock.js:2
Methodconstructor
(text)
test/mocks/SpeechSynthesisUtterance.mock.js:2
FunctioncontinueSwipe
(event: MouseEvent | TouchEvent)
src/useSwipe.ts:66
FunctioncontinueSwipe
(event: MouseEvent | TouchEvent)
src/useSwipeEvents.ts:80
FunctiondeleteItem
(key)
test/mocks/CookieStoreApi.mock.js:8
FunctiondistinctValues
(value: T, current: number, array: T[])
src/useValueHistory.ts:3
FunctionendSwipe
(event: MouseEvent | TouchEvent)
src/useSwipe.ts:127
FunctionendSwipe
(event: MouseEvent | TouchEvent)
src/useSwipeEvents.ts:109
FunctionerrorEventCallback
()
src/useAudio.ts:198
Functionfn
()
test/useThrottledCallback.spec.js:19
FunctionfooCallback
()
test/useHandlerSetter.spec.js:29
FunctiongetCurrentPosition
(fn)
test/mocks/GeoLocationApi.mock.js:19
FunctiongetItem
(key)
test/mocks/CookieStoreApi.mock.js:4
FunctiongetResults
(event: SpeechRecognitionEvent)
src/useSpeechRecognition.ts:37
FunctiongetVoices
()
test/mocks/SpeechSynthesis.mock.js:2
Functionnoop
(...args: any[])
src/shared/noop.ts:4
FunctiononError
(err: BRHGeolocationPositionError)
src/useGeolocationEvents.ts:34
FunctiononError
(callback: SomeCallback<BRHGeolocationPositionError, void>)
src/useGeolocationState.ts:53
FunctiononSuccess
(successEvent: BRHGeolocationPosition)
src/useGeolocationEvents.ts:29
FunctionremoveListener
()
test/mocks/MatchMediaQueryList.mock.js:7
FunctionsetItem
({ name, value })
test/mocks/CookieStoreApi.mock.js:14
FunctionshouldThrow
()
test/useHandlerSetter.spec.js:44
FunctionstartSwipe
(event: MouseEvent | TouchEvent)
src/useSwipe.ts:56
FunctionstartSwipe
(event: MouseEvent | TouchEvent)
src/useSwipeEvents.ts:65
Functionstyles
({ fontFamily, color })
docs/utils/_CustomLogo.js:6
Methodunobserve
()
test/mocks/ResizeObserver.mock.js:13
FunctionuseTouch
(targetRef: RefObject<TElement> | undefined = undefined)
src/useTouch.ts:10
FunctionwatchPosition
(success, error, options)
test/mocks/GeoLocationApi.mock.js:24
FunctionwebpackConfig
()
styleguide.config.js:31
← previous101–152 of 152, ranked by callers