JSPM

Found 65 results for react-hooks.org

@rooks/use-key

Keyboard key handler hook for react

  • v4.11.2
  • 63.36
  • 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
  • 54.76
  • Published

@rooks/use-previous

Access the previous value of a variable with this React hook

  • v4.11.2
  • 47.57
  • Published

@rooks/use-in-view-ref

Simple hook that monitors element enters or leave the viewport.

  • v4.11.2
  • 42.38
  • Published

@rooks/use-fork-ref

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

  • v4.11.2
  • 42.37
  • Published

@rooks/use-raf

A continuously running requestAnimationFrame hook for React

  • v4.11.2
  • 36.97
  • Published

@rooks/use-keys

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

  • v4.11.2
  • 32.89
  • Published

@rooks/use-countdown

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

  • v4.11.2
  • 32.02
  • Published

@rooks/use-previous-immediate

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

  • v4.11.2
  • 30.14
  • Published

@rooks/use-time-ago

A React Hook to get time ago for timestamp millisecond value

  • v4.11.2
  • 23.82
  • Published

@rooks/use-undo-state

Drop in replacement for useState hook but with undo functionality.

  • v4.11.2
  • 23.65
  • Published

use-progress

A React Hook to easily add nprogress bars to any page

  • v2.0.1
  • 18.50
  • Published

@rooks/use-isomorphic-effect

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

  • v4.11.2
  • 14.90
  • 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
  • 13.23
  • Published

@rooks/use-map-state

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

  • v4.11.2
  • 11.35
  • Published

@rooks/use-key-ref

Very similar to useKey but it returns a ref

  • v4.11.2
  • 10.50
  • Published

@rooks/use-fresh-ref

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

  • v4.11.2
  • 10.24
  • Published

use-tracker

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

  • v0.1.0
  • 4.27
  • Published