README.md

March 30, 2019 ยท View on GitHub

Use Events

npm npm NpmLicense

Use Events - Events turned into React Hooks. Read about Hooks feature.

Documentation

https://sandiiarov.github.io/use-events

List of hooks

  • useActive
  • useClickOutside
  • useFocus
  • useHover
  • useMousePosition
  • useTouch
  • useWindowResize
  • useResizeObserver

Installation

Note: React 16.8+ is required for Hooks.

With npm

npm i use-events

Or with yarn

yarn add use-events

Contents

  1. 1Documentation
  2. 1.1List of hooks
  3. 2Installation
  4. 2.1With npm
  5. 2.2Or with yarn