File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 - [x] useArray
1515 - [x] useProxyState
1616 - [x] useSyncExternalStore
17+ - [ ] useDerivedState (https://hackernoon.com/whats-the-right-way-to-fetch-data-in-react-hooks-a-deep-dive-2jc13230)
18+ - [ ] useStateValidator (???)
1719 - [ ] useStore
18- - [ ] createStore
20+ - [ ] createStore (example: https://github.com/streamich/react-use/blob/master/src/factory/createGlobalState.ts)
1921 - [ ] usePubSubStore (with pusSub model)
2022 - [ ] useBroadcast (refer to https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API )
2123
2931 - [x] useRerender
3032 - [x] useIsMounted
3133 - [ ] useInsertionEffect (polyfill???)
32- - [ ] useDeferredValue (polyfill - an idea can be use setTimeout inside useEffect)
34+ - [ ] useDeferredValue (polyfill - an idea can be use setTimeout inside useEffect or this https://lilibraries.github.io/hooks/useDelayedValue/)
35+ - [ ] useLogger
3336
3437- __ PERFORMANCE__
3538 - [x] useCallbackCompare
4851 - [x] useEvents
4952 - [x] useEventListener
5053 - [x] useEventDispatcher
51- - [x] usePerformAction
54+ - [x] usePerformAction (se non si riesce a fare il polyfill di useDeferredValue, valutare di farlo utilizzando requestIdleCallback)
5255 - [x] useDocumentVisibility
5356 - [x] useHover
5457 - [x] useResponsive
6366 - [x] useScrollIntoView
6467 - [x] useMouse
6568 - [x] useLongPress
69+ - [ ] useBeforeUnload — shows browser alert when user try to reload or close the page.
6670 - [ ] useKeysEvents
71+ - [ ] useHotKeys (https://mantine.dev/hooks/use-hotkeys/)
6772 - [ ] useOrientation
6873 - [ ] useImageOnLoad
6974 - [ ] usePinchZoom
7782 - [x] useDebounce
7883 - [x] useThrottle
7984 - [x] useActiveElement
85+ - [ ] useRaf (with a reference to call itself again)
8086 - [x] useTimeout
8187 - [x] useInterval
8288 - [x] useTextSelection
8793 - [x] useTitle (change document.title but also document.head.title nodeElement)
8894 - [x] useIdle
8995 - [x] useFullscreen (check browser compatibility)
96+ - [ ] useBattery
97+ - [ ] useGeolocation
9098 - [ ] useShare
9199 - [ ] useScreenShare
92100 - [ ] useFetch (with suspense ???)
93101 - [ ] useAsync
102+ - [ ] useAudio (???)
103+ - [ ] useVideo (???)
104+ - [ ] useOs
105+ - [ ] useEyeDropper (refer to https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper_API)
106+ - [ ] useMedia
107+ - [ ] useMediaDevices
94108 - [ ] useMediaStream
109+ - [ ] useSpeech (https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance#examples)
110+ - [ ] useDeviceMotion (??? mobile)
111+ - [ ] useVibrate (??? mobile)
95112 - [ ] useObservable — tracks latest value of an Observable
96113
97114- __ UTILS__
You can’t perform that action at this time.
0 commit comments