react-hook


  • A React hook for gracefully resolving async functions and promises

    published 3.1.1 3 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 1.1.1 2 years ago
  • A React hook that invokes a callback anytime a value changes

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

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

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

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

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

    published 1.2.6 2 years ago
  • A React hook for using Google Optimize variants in components

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

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

    published 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 3.1.1 3 years ago
  • A React hook that updates useRef().current with the most recent value each invocation

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

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

    published 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 4.1.3 2 years ago
  • A React hook that uses useEffect() on the server and useLayoutEffect() in the browser

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

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

    published 1.2.6 2 years 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 2.0.0 4 years ago
  • A React hook for measuring the size of HTML elements including when they change

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

    published 1.3.3 3 years ago
  • A React hook for throttling setState and other callbacks

    published 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 2.1.1 4 years ago
  • A React hook for toggling between two values

    published 2.0.1 4 years ago
show more packages