@react-hook/resize-observer
A React hook that fires a callback whenever ResizeObserver detects a change to its size
Updated by @jaredlunde
@react-hook/passive-layout-effect
popularA React hook that uses useEffect() on the server and useLayoutEffect() in the browser
Updated by @jaredlunde
@react-hook/latest
popularA React hook that updates useRef().current with the most recent value each invocation
Updated by @jaredlunde
@accessible/use-id
A React hook that creates unique deterministic IDs to facilitate WAI-ARIA and server rendering
Updated by @jaredlunde
@react-hook/event
A React hook for managing event listeners, e.g. removing events when a component unmounts.
Updated by @jaredlunde
@react-hook/switch
A React hook for controlling a boolean value with toggle, on, and off callbacks
Updated by @jaredlunde
forward-ref-as
A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the as prop.
Updated by @jaredlunde
masonic
An autosizing masonry component that only renders items currently visible in the window.
Updated by @jaredlunde
@react-hook/window-size
popularReact hooks for updating components when the size of the `window` changes.
Updated by @jaredlunde
@react-hook/throttle
A React hook for throttling setState and other callbacks
Updated by @jaredlunde
@react-hook/intersection-observer
A React hook for the IntersectionObserver API that uses a polyfill when the native API is not available
Updated by @jaredlunde
@accessible/use-conditional-focus
A React hook for focusing elements and their children conditionally.
Updated by @jaredlunde
@react-hook/debounce
A React hook for debouncing setState and other callbacks
Updated by @jaredlunde
@react-hook/size
A React hook for measuring the size of HTML elements including when they change
Updated by @jaredlunde
@react-hook/window-scroll
A React hook for updating components when the scroll position of the window on the y-axis changes
Updated by @jaredlunde
@react-hook/async
A React hook for gracefully resolving async functions and promises
Updated by @jaredlunde
@accessible/checkbox
🅰 An accessible and versatile checkbox component for React
Updated by @jaredlunde
trie-memoize
A memoization algorithm in which each function argument represents a new key, creating a trie of caches as defined by the array in your first argument.
Updated by @jaredlunde
@essentials/request-timeout
A setTimeout() function that uses requestAnimationFrame() in the background for ticks
Updated by @jaredlunde
@accessible/button
An accessible button component for React that provides interop between real <button> elements and fake ones, e.g. <div role='button'>
Updated by @jaredlunde
@react-hook/mouse-position
A React hook for tracking the position, hover, and down state of the mouse as it interacts with an element with interop between touch and mouse devices.
Updated by @jaredlunde