React Hook Chooser
I need to… pick a goal, get the hook that fits, a minimal snippet, and notes on when not to reach for it.
Reach for
No goals match that search.
About this tool
React has a lot of hooks. This chooser maps common goals to the hook that usually fits — not every edge case, but a sane default when you are staring at a blank component.
Snippets target React 19. Notes call out when a framework loader, TanStack Query, or plain useState is the better move than useEffect gymnastics.
Read more
Free books, courses, and software
Get my programming books, course editions, and complete software.
Get the download library →