0.0.1-beta.22 • Published 4 years ago

hook-book v0.0.1-beta.22

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

👨‍🍳 HookBook

npm version npm downloads npm downloads

A collection of React Hook recipes.

Recipes

RecipeDescription
useDebounceA hook for debouncing the updates of a value, only using the trailing update.
useDragA hook to make dragging elements easier.
useKeypressA hook to detect when the specific keys are pressed.
useThrottleA hook for throttling the updates of a value.

Installation

HookBook is supported in projects that are using the latest versions of React (16.8.0+). To install, run the following command from your CLI.

$ npm install hook-book

Sample Usage

import useKeyPress from 'hook-book/use-keypress'

const Component = () => {
    const keysPressed = useKeyPress()
    return (...)
}
0.0.1-beta.22

4 years ago

0.0.1-beta.21

4 years ago

0.0.1-beta.20

6 years ago

0.0.1-beta.19

6 years ago

0.0.1-beta.18

6 years ago

0.0.1-beta.17

6 years ago

0.0.1-beta.16

6 years ago

0.0.1-beta.15

6 years ago

0.0.1-beta.14

6 years ago

0.0.1-beta.13

6 years ago

0.0.1-beta.12

6 years ago

0.0.1-beta.11

6 years ago

0.0.1-beta.10

6 years ago

0.0.1-beta.9

6 years ago

0.0.1-beta.8

6 years ago

0.0.1-beta.7

6 years ago

0.0.1-beta.6

6 years ago

0.0.1-beta.5

6 years ago

0.0.1-beta.4

6 years ago

0.0.1-beta.3

6 years ago

0.0.1-beta.2

6 years ago

0.0.1-beta.1

6 years ago

0.0.1-beta

6 years ago

0.0.1

6 years ago