|
1 |
| -Updates coming soon. |
| 1 | +# useHooks |
| 2 | + |
| 3 | +A collection of 50 RSC safe React hooks |
| 4 | + |
| 5 | +## Standard |
| 6 | + |
| 7 | +### Install |
| 8 | + |
| 9 | +`npm i @uidotdev/usehooks` |
| 10 | + |
| 11 | +- [useBattery](https://usehooks.com/useBattery) |
| 12 | +- [useClickAway](https://usehooks.com/useClickAway) |
| 13 | +- [useCopyToClipboard](https://usehooks.com/useCopyToClipboard) |
| 14 | +- [useCounter](https://usehooks.com/useCounter) |
| 15 | +- [useDebounce](https://usehooks.com/useDebounce) |
| 16 | +- [useDefault](https://usehooks.com/useDefault) |
| 17 | +- [useDocumentTitle](https://usehooks.com/useDocumentTitle) |
| 18 | +- [useFavicon](https://usehooks.com/useFavicon) |
| 19 | +- [useGeolocation](https://usehooks.com/useGeolocation) |
| 20 | +- [useHistoryState](https://usehooks.com/useHistoryState) |
| 21 | +- [useHover](https://usehooks.com/useHover) |
| 22 | +- [useIdle](https://usehooks.com/useIdle) |
| 23 | +- [useIntersectionObserver](https://usehooks.com/useIntersectionObserver) |
| 24 | +- [useIsClient](https://usehooks.com/useIsClient) |
| 25 | +- [useIsFirstRender](https://usehooks.com/useIsFirstRender) |
| 26 | +- [useList](https://usehooks.com/useList) |
| 27 | +- [useLockBodyScroll](https://usehooks.com/useLockBodyScroll) |
| 28 | +- [useLongPress](https://usehooks.com/useLongPress) |
| 29 | +- [useMap](https://usehooks.com/useMap) |
| 30 | +- [useMeasure](https://usehooks.com/useMeasure) |
| 31 | +- [useMediaQuery](https://usehooks.com/useMediaQuery) |
| 32 | +- [useMouse](https://usehooks.com/useMouse) |
| 33 | +- [useNetworkState](https://usehooks.com/useNetworkState) |
| 34 | +- [useObjectState](https://usehooks.com/useObjectState) |
| 35 | +- [useOrientation](https://usehooks.com/useOrientation) |
| 36 | +- [usePreferredLanguage](https://usehooks.com/usePreferredLanguage) |
| 37 | +- [usePrevious](https://usehooks.com/usePrevious) |
| 38 | +- [useQueue](https://usehooks.com/useQueue) |
| 39 | +- [useRenderCount](https://usehooks.com/useRenderCount) |
| 40 | +- [useRenderInfo](https://usehooks.com/useRenderInfo) |
| 41 | +- [useScript](https://usehooks.com/useScript) |
| 42 | +- [useSet](https://usehooks.com/useSet) |
| 43 | +- [useThrottle](https://usehooks.com/useThrottle) |
| 44 | +- [useToggle](https://usehooks.com/useToggle) |
| 45 | +- [useVisibilityChange](https://usehooks.com/useVisibilityChange) |
| 46 | +- [useWindowScroll](https://usehooks.com/useWindowScroll) |
| 47 | +- [useWindowSize](https://usehooks.com/useWindowSize) |
| 48 | + |
| 49 | +## Experimental |
| 50 | + |
| 51 | +### Install |
| 52 | + |
| 53 | +`npm i @uidotdev/usehooks@experimental react@experimental react-dom@experimental` |
| 54 | + |
| 55 | +- [useContinuousRetry](https://usehooks.com/useContinuousRetry) |
| 56 | +- [useCountdown](https://usehooks.com/useCountdown) |
| 57 | +- [useEventListener](https://usehooks.com/useEventListener) |
| 58 | +- [useFetch](https://usehooks.com/useFetch) |
| 59 | +- [useInterval](https://usehooks.com/useInterval) |
| 60 | +- [useIntervalWhen](https://usehooks.com/useIntervalWhen) |
| 61 | +- [useKeyPress](https://usehooks.com/useKeyPress) |
| 62 | +- [useLocalStorage](https://usehooks.com/useLocalStorage) |
| 63 | +- [useLogger](https://usehooks.com/useLogger) |
| 64 | +- [usePageLeave](https://usehooks.com/usePageLeave) |
| 65 | +- [useRandomInterval](https://usehooks.com/useRandomInterval) |
| 66 | +- [useSessionStorage](https://usehooks.com/useSessionStorage) |
| 67 | +- [useTimeout](https://usehooks.com/useTimeout) |
0 commit comments