react-hook


  • A React hook for gracefully resolving async functions and promises

    published version 3.1.1, 4 years ago
  • A React hook for accessing an async cache that persists data between renders and components. This allows you to do neat stuff like preload data before your next page or component has even started mounting.

    published version 1.1.1, 3 years ago
  • A React hook that invokes a callback anytime a value changes

    published version 1.0.0, 4 years ago
  • ```jsx harmony import useClick from '@react-hook/click'

    published version 2.0.0, 4 years ago
  • A React hook for copying text to the clipboard

    published version 2.0.1, 4 years ago
  • A React hook counter with min/max/step/cast options

    published version 2.0.0, 4 years ago
  • A React hook for debouncing setState and other callbacks

    published version 4.0.0, 3 years ago
  • A React hook for managing event listeners, e.g. removing events when a component unmounts.

    published version 1.2.6, 3 years ago
  • A React hook for using Google Optimize variants in components

    published version 1.2.1, 4 years ago
  • A React hook for invoking a callback when hotkeys are pressed

    published version 3.1.0, 4 years ago
  • A React hook for tracking the hover state of DOM elements in browsers where hovering is possible

    published version 4.0.0, 4 years ago
  • A React hook for the IntersectionObserver API that uses a polyfill when the native API is not available

    published version 3.1.2, 4 months ago
  • A React hook that updates useRef().current with the most recent value each invocation

    published version 1.0.3, 4 years ago
  • React hooks that update when media queries change between matched and unmatched states.

    published version 1.1.1, 4 years ago
  • A React hook for merging multiple refs into one ref

    published version 1.3.2, 3 years ago
  • 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.

    published version 4.1.3, 3 years ago
  • A React hook that uses useEffect() on the server and useLayoutEffect() in the browser

    published version 1.2.1, 4 years ago
  • A React hook that stores a value from the previous render

    published version 1.0.1, 4 years ago
  • A React hook that fires a callback whenever ResizeObserver detects a change to its size

    published version 2.0.2, 4 months ago
  • A React hook for continuously rendering a React tree until no promises are pushed to server-promises's context in a given render.

    published version 2.0.0, 4 years ago
  • A React hook for measuring the size of HTML elements including when they change

    published version 2.1.2, 3 years ago
  • A React hook for controlling a boolean value with toggle, on, and off callbacks

    published version 1.3.3, 4 years ago
  • A React hook for throttling setState and other callbacks

    published version 2.2.0, 4 years ago
  • A React hook that executes a callback after a timeout ms have been exceeded and the timeout has been started

    published version 2.1.1, 4 years ago
  • A React hook for toggling between two values

    published version 2.0.1, 4 years ago
show more packages