useReactHook

Homepage
Contact
Documentation

useReactHook

useReactHooks | © 2025

Collection of React Hooks

Find and copy expertly crafted custom hooks with clear documentation, usage examples, and tips for optimization.

Documentation Github
#

New Hooks

useFocusWithin

Detect whether focus is currently inside a specific element. Useful for styling focused groups, showing/hiding UI when users tab through, or closing popovers/menus when focus exits the container.

Discover

useQueryParamState

Bind a piece of React state to a URL query parameter. It keeps state in sync with the browser’s address bar, updates history (push/replace), and listens to back/forward navigation.

Discover