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.
To run locally, yarn
, then yarn dev
, then open localhost:8000.
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