This is the repository for usehooks.com, a Gatsby powered blog that publishes easy to understand React Hook code recipes.
If you'd like to submit new post ideas, improve existing posts, or change anything about the website feel free to submit an issue or pull-request.
Please consider sponsoring this project through my Github sponsors page. Any level of support is appreciated. I have a few higher tiers that include having your company listed on the usehooks website and newsletter.
To run locally, yarn
, then yarn dev
, then open localhost:8000.
useFirestoreQuery
useMemoCompare
useAsync
useRequireAuth
useRouter
useAuth
useEventListener
useWhyDidYouUpdate
useDarkMode
useMedia
useLockBodyScroll
useTheme
useSpring
useHistory
useScript
useKeyPress
useMemo
useDebounce
useOnScreen
usePrevious
useOnClickOutside
useAnimation
useWindowSize
useHover
useLocalStorage
Unlicense — public domain