Skip to content

Tags: fiws/react-use

Tags

v7.1.0

Toggle v7.1.0's commit message
chore(release): 7.1.0 [skip ci]

# [7.1.0](streamich/react-use@v7.0.2...v7.1.0) (2019-03-29)

### Bug Fixes

* useClickAway TypeScript typings ([4b20083](streamich@4b20083))

### Features

* pass click event in useClickAway to user ([01e38bc](streamich@01e38bc))

v7.0.2

Toggle v7.0.2's commit message
chore(release): 7.0.2 [skip ci]

## [7.0.2](streamich/react-use@v7.0.1...v7.0.2) (2019-03-29)

### Bug Fixes

* πŸ› add rebound and keyboards deps back to peerDependencies ([4fc46aa](streamich@4fc46aa))

v7.0.1

Toggle v7.0.1's commit message
chore(release): 7.0.1 [skip ci]

## [7.0.1](streamich/react-use@v7.0.0...v7.0.1) (2019-03-29)

### Bug Fixes

* add optional attributes in AsyncState ([b0c9770](streamich@b0c9770))

v7.0.0

Toggle v7.0.0's commit message
chore(release): 7.0.0 [skip ci]

# [7.0.0](streamich/react-use@v6.2.2...v7.0.0) (2019-03-28)

### Bug Fixes

* πŸ› fix TypeScript build errors ([5c95f28](streamich@5c95f28))
* πŸ› make sure all paths in usePageLeave return ([6655092](streamich@6655092))
* πŸ› track "over" state better in useDrop hook ([acc355c](streamich@acc355c))

### Features

* 🎸 add clear() to useList, use fn for state updates ([b20cf7c](streamich@b20cf7c))
* 🎸 add createRenderProp function for creating render-props ([f4fd748](streamich@f4fd748))
* 🎸 add useDrop hook ([6e415cf](streamich@6e415cf))
* 🎸 add useDropArea hook ([676d0de](streamich@676d0de))
* 🎸 add useEvent hook ([2a13cfb](streamich@2a13cfb))
* 🎸 add useKey hook ([299fd86](streamich@299fd86))
* 🎸 add useKeyboardJs hook ([3516aa6](streamich@3516aa6))
* 🎸 add usePageLeave hook ([33ac91b](streamich@33ac91b))
* 🎸 add useThrottleFn hook that throttles function ([0ccdf95](streamich@0ccdf95))
* 🎸 improve useFullscreen hook ([7c38165](streamich@7c38165))
* 🎸 keep keyboard events in useKeyPress hook ([00fecab](streamich@00fecab))
* 🎸 refactor useKeyPressEvent hook ([c0658f6](streamich@c0658f6))
* 🎸 return events from useKeyboardJs hook ([aa277b8](streamich@aa277b8))
* 🎸 simplify and improve useThrottle hook ([452e8d9](streamich@452e8d9))
* 🎸 useKeyPress hook now uses useKey, KeyboardJS removed ([727743b](streamich@727743b))

### BREAKING CHANGES

* 🧨 useKeyPressEvent hook modified for dependency injection and providing
event objects to user
* 🧨 KeyboardJS now available anymore in useKeyPress hook, instead it will be
a separate useKeyPressKJ hook.
* 🧨 useThrottle is now a completely different hook

v6.2.2

Toggle v6.2.2's commit message
chore(release): 6.2.2 [skip ci]

## [6.2.2](streamich/react-use@v6.2.1...v6.2.2) (2019-03-28)

### Bug Fixes

* fix deps arg and union type in useAsync and useAsyncRetry ([929e726](streamich@929e726))

v6.2.1

Toggle v6.2.1's commit message
chore(release): 6.2.1 [skip ci]

## [6.2.1](streamich/react-use@v6.2.0...v6.2.1) (2019-03-27)

### Bug Fixes

* set 'module' field properly ([35d4fc2](streamich@35d4fc2))

v6.2.0

Toggle v6.2.0's commit message
chore(release): 6.2.0 [skip ci]

# [6.2.0](streamich/react-use@v6.1.0...v6.2.0) (2019-03-27)

### Bug Fixes

* add esm to 'files' in package.json ([fc1ba07](streamich@fc1ba07))
* clean esm folder as well ([0a10a6e](streamich@0a10a6e))

### Features

* emit code in ES Module mode ([464642e](streamich@464642e))

v6.1.0

Toggle v6.1.0's commit message
chore(release): 6.1.0 [skip ci]

# [6.1.0](streamich/react-use@v6.0.0...v6.1.0) (2019-03-26)

### Features

* add useThrottle hook ([756bc99](streamich@756bc99))

v6.0.0

Toggle v6.0.0's commit message
chore(release): 6.0.0 [skip ci]

# [6.0.0](streamich/react-use@v5.16.1...v6.0.0) (2019-03-26)

### Bug Fixes

* πŸ› bump nano-css ([f1f36dc](streamich@f1f36dc)), closes [streamich#90](streamich#90)
* πŸ› don't throw only in development ([f5faba5](streamich@f5faba5))

### chore

* πŸ€– don't install only large dependencies ([6170067](streamich@6170067))

### Features

* 🎸 add {bound} option to useMouse ([9bb02a1](streamich@9bb02a1))
* 🎸 implement useClickAway, remove useOutsideClick ([a03143a](streamich@a03143a))
* 🎸 keep global state of all useLockBodyScroll hooks ([5dd10e9](streamich@5dd10e9))
* 🎸 move extra mouse functionality into useMouseHovered ([8b0580e](streamich@8b0580e))
* more precise size for useMouse ([b887075](streamich@b887075))

### BREAKING CHANGES

* 🧨 error is logged instead of thrown in development environment
* 🧨 useOutsideClick is now useClickAway
* 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
separately

v5.16.1

Toggle v5.16.1's commit message
chore(release): 5.16.1 [skip ci]

## [5.16.1](streamich/react-use@v5.16.0...v5.16.1) (2019-03-26)

### Bug Fixes

* types for useGeolocation ([b72c098](streamich@b72c098))