JSPM

Found 65 results for react-hooks.org

@rooks/use-key

Keyboard key handler hook for react

  • v4.11.2
  • 64.09
  • Published

@rooks/use-boundingclientrect-ref

A hook that tracks the boundingclientrect of an element. It returns a callbackRef so that the element node if changed is easily tracked.

  • v4.11.2
  • 48.27
  • Published

@rooks/use-previous

Access the previous value of a variable with this React hook

  • v4.11.2
  • 45.98
  • Published

@rooks/use-raf

A continuously running requestAnimationFrame hook for React

  • v4.11.2
  • 42.88
  • Published

@rooks/use-in-view-ref

Simple hook that monitors element enters or leave the viewport.

  • v4.11.2
  • 41.69
  • Published

@rooks/use-keys

A hook which allows to setup callbacks on multiple keypresses at the same time

  • v4.11.2
  • 40.82
  • Published

@rooks/use-fork-ref

A hook that can combine two refs(mutable or callbackRefs) into a single callbackRef

  • v4.11.2
  • 35.89
  • Published

@rooks/use-countdown

Count down to a target timestamp and call callbacks every second (or provided peried)

  • v4.11.2
  • 31.54
  • Published

@rooks/use-time-ago

A React Hook to get time ago for timestamp millisecond value

  • v4.11.2
  • 29.91
  • Published

@rooks/use-undo-state

Drop in replacement for useState hook but with undo functionality.

  • v4.11.2
  • 26.26
  • Published

@rooks/use-previous-immediate

usePreviousImmediate returns the previous value of a variable even if it was the same or different

  • v4.11.2
  • 25.95
  • Published

use-progress

A React Hook to easily add nprogress bars to any page

  • v2.0.1
  • 21.33
  • Published

@rooks/use-selectable-list

Easily select a single value from a list of values. very useful for radio buttons, select inputs etc.

  • v4.11.2
  • 10.35
  • Published

@rooks/use-fresh-ref

Avoid stale state in callbacks with this hook. Auto updates values using a ref.

  • v4.11.2
  • 8.06
  • Published

@rooks/use-isomorphic-effect

Resolves to useEffect when window is not in scope and useLayout effect in the browser

  • v4.11.2
  • 7.21
  • Published

@rooks/use-map-state

A react hook to manage state in a key value pair map.

  • v4.11.2
  • 2.70
  • Published

use-tracker

A React Hook to easily add Google Analytics tracking for SPA apps using React Router

  • v0.1.0
  • 2.56
  • Published