I put the 8 custom React hooks I re-copy into every project in one place — with live demos and the source
Every React project ends up with the same little hooks/ folder — a debounce, a localStorage wrapper, a click-outside. I got tired of re-copying them from old repos, so I put the eight I actually reuse into one place, each with a demo you can poke and the source one click away. ▶ Live demo: https://react-hooks-showcase.vercel.app/ Source (all in one file): https://github.com/dev48v/react-hooks-showcase/blob/main/src/hooks.ts The eight: useDebounce, usePrevious, useLocalStorage, useMediaQuery, use

