Tags: fiws/react-use
Tags
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))
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))
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))
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
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))
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))
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))
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))
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
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))
PreviousNext