17.6.0 (2024-12-09)
17.5.1 (2024-07-20)
- π bump nano-css dependency (adfb337)
17.5.0 (2024-01-22)
- add
isFirst
andisLast
methods touseStateList
hook (ac64414) - pencil: add isFirst and isLast return value to 'useStateList' (75218e4)
- pencil: fix with yarn lint:fix (6a9dde5)
17.4.4 (2024-01-21)
- typo in example (0534648)
17.4.3 (2024-01-13)
- update useMedia hook to use recommended approach of MDN (e7379f0)
17.4.2 (2023-12-01)
- correct peer dependencies (d770587)
17.4.1 (2023-11-28)
- π bump nano-css version (812952b)
17.4.0 (2022-05-20)
- add usePinchZoom sensor hook (3e042cb)
17.3.3 (2022-05-20)
- bump React peer dependency version (532e865)
- resolve #2319 (4884b2c)
- resolve @types/react@18 break change, React.FC (20b7817)
17.3.2 (2021-12-30)
17.3.1 (2021-08-31)
- β‘οΈ change title only if it changed (51ef8d9)
17.3.0 (2021-08-31)
- do not re-render unncessarily in useAsyncFn hook (fa3ba25)
- useAudio add playing state (3203610)
17.2.4 (2021-04-23)
- lint issues. (66b0f23)
- useLocalStorage: reinitialize on key change (fdd1b23)
- add generic typing to createHTMLMediaHook. no typecheck problem with ref anymore. (1f547ef)
- add generic typing to createHTMLMediaHook. no typecheck problem with ref anymore. (ac4dd78)
17.2.3 (2021-04-06)
- lint issues. (5a5a575)
17.2.2 (2021-04-06)
- useStateWithHistory: support callback style setState (fca687d)
17.2.1 (2021-03-11)
- lint issues. (3e8af15)
- useMeasure type definitions for SVG (e200f7f)
- useUnmountPromise stops on immediate update (9ff5c09)
17.2.0 (2021-03-10)
- delete isClient (72f4cb9)
- lint issues. (dc5bbe0)
- useOrientation: handle orientation being 0 (793b053)
- useOrientation: update tests to increase coverage (f9c743f)
- use window inside useEffect (2f33aa8)
- useOrientation: add tests (f45cb70)
17.1.1 (2021-02-10)
- useMountedState should not change state on componentDidUpdate lifecycle (701b306)
17.1.0 (2021-02-01)
- prettier: make prettier a part of eslint. (b6993a6)
17.0.2 (2021-02-01)
- proper definition for
useMeasure
(1461527)
17.0.1 (2021-01-31)
17.0.0 (2021-01-31)
- refactor the useNetwork hook. (23037f2)
useNetwork
hook renamed touseNetworkState
.
16.1.0 (2021-01-31)
- improve
on
andoff
util functions typing. (723c588)
16.0.0 (2021-01-30)
- refactoring and rearrangement. (a27f09f)
- all
create*
factories been moved tofactory
subdirectory and in case direct import should be imported likereact-use/esm/factory/createBreakpoint
comps
directory renamed tocomponent
15.3.8 (2021-01-08)
- improve useStateValidator and useMultiStateValidator typings. (acff81d)
15.3.7 (2021-01-08)
15.3.6 (2021-01-07)
- Fix issues in tests (7668ce5)
15.3.4 (2020-09-04)
- useLongPress hook linting fixes. (479dd99)
15.3.3 (2020-07-24)
- replace createFactory usages with createElement (ad29bea)
15.3.2 (2020-06-29)
15.3.1 (2020-06-29)
15.3.0 (2020-06-19)
- usePrevious: reworked the hook, now it is more memory-efficient. (8c6f467)
15.2.5 (2020-06-15)
- bump react-universal-interface (1540c1a)
15.2.4 (2020-06-13)
- doesn't unlock the body on unmount (1ead4ef)
15.2.3 (2020-06-13)
- π improve how text is dropped in useDrop hook (b2f46d1)
15.2.2 (2020-06-08)
- repair useKeyboardJs hook (8410bb0)
15.2.1 (2020-06-08)
- π bump fast-deep-equal, and consume it through ES import (f3c715c)
15.2.0 (2020-06-07)
- add useMouseWheel hook (d714b12)
15.1.1 (2020-05-30)
- π use useIsomorphicLayoutEffect everywhere (dad26e5)
15.1.0 (2020-05-18)
- add useLatest hook (d6fe267)
15.0.3 (2020-05-18)
- π correct useMeasure typings (bedbad7)
15.0.2 (2020-05-17)
- π dont memoize useScratch event handlers (ffc7579)
15.0.1 (2020-05-16)
- deps: update dependency tslib to v2 (6aebf3c)
15.0.0 (2020-05-16)
- v15 release (0f82ba6)
- π better serialization handling in useLocalStorage hook (68fb835)
- π correctly test if env is browser in useMeasure (9ae494f)
- π make useMeasure work on server (2daf769)
- π remove set dependencies in useSet hook (90ba9d0)
- π revert useMeasure defaults to zeros (dc92b64)
- remove console log π€ (f17c8a0)
- useLocalStorage: using undefined for empty value instead of null (1620e01)
- use latest set object in useSet "has" method (41f9452)
- πΈ add useScratch() sensor hook (58db2f9)
- πΈ catch up with v14 (be69035)
- πΈ improve implementation of useMeasure() hook (a164843)
- πΈ improve implementation of useMeasure() hook (4d88240)
- πΈ mock useMeasure() hook on server and w/o ResizeObserver (866f3d7)
- πΈ mock useMeasure() hook on server and w/o ResizeObserver (2bbc73a)
- πΈ remove resize-observer-polyfill from useMeasure (2a13fba)
- πΈ remove resize-observer-polyfill from useMeasure (bf11131)
- Dependencies inference for useCustomCompareEffect (477c164)
- improve useAsyncFn and useAsync typings (85967e2)
- keep previous state in useAsyncFn (54ac91b)
- use useReducer in useUpdate hook, instead of useState + useCallback (6575b14)
- useLocalStorage: add remove feature. (#229) (587de16)
- implementation of useMeasure and useLocalStorage changed
- resize-observer-polyfill package is not used with useMeasure() hook anymore.
- useMeasure() now defaults all values to -1, if they were not set and internal implementation heavily refactored.
- useAsyncFn now keeps hold of old result/error when called multiple times
- resize-observer-polyfill package is not used with useMeasure() hook anymore.
- useMeasure() now defaults all values to -1, if they were not set and internal implementation heavily refactored.
14.3.0 (2020-05-16)
- πΈ add useScratch hook (2a2a298)
14.2.0 (2020-04-24)
- πΈ onScrubStop provide value where scrub stopped (138b43c)
14.1.1 (2020-04-11)
- deps: update dependency @types/js-cookie to v2.2.6 (f9f4fae)
14.1.0 (2020-04-08)
- add useHash hook (44a6cde)
14.0.0 (2020-04-04)
- useRafLoop: implement #1090 (1ef1272)
- useRafLoop: reworked the hook, now it do not re-render parent component. (baa2f75)
- useRafLoop: changed return array, now it returns only functions in next order: [stop, start, isActive].
Parent component is not re-rendered on loop start/stop.
13.27.1 (2020-03-25)
- deps: update dependency @xobotyi/scrollbar-width to v1.9.5 (9751390)
13.27.0 (2020-03-03)
13.26.5 (2020-03-02)
- deps: update dependency @xobotyi/scrollbar-width to v1.9.4 (29d017b)
13.26.4 (2020-02-29)
- useHoverDirty eslint fix (0ed6521)
13.26.3 (2020-02-26)
- deps: update dependency @types/js-cookie to v2.2.5 (1f3217a)
13.26.2 (2020-02-24)
- deps: update dependency @xobotyi/scrollbar-width to v1.9.3 (6e2287d)
13.26.1 (2020-02-16)
- deps: update dependency @xobotyi/scrollbar-width to v1.9.0 (601d787)
13.26.0 (2020-02-15)
- add initialState to deps (b394f3d)
- add useMethods state hook (7554b9a)
13.25.1 (2020-02-15)
- π support default event in useClickAway() (24281cd)
- generic type on event arg in onClickAway callback on useClickAway (4ffe454)
13.25.0 (2020-02-15)
13.24.1 (2020-02-15)
- use fast-deep-equal for deep comparisons (b9a8aad)
13.24.0 (2020-02-04)
- add createReducerContext and createStateContext factories (84b8310)
13.23.0 (2020-02-04)
- add createGlobalState hook generator (fda7199)
13.22.5 (2020-02-04)
- π don't throw in useMediaDevices on missing browser API (0f119fe)
- handle undefined mediaDevices (6f68437)
13.22.4 (2020-01-30)
13.22.3 (2020-01-28)
- useIntersection: disconnect an old IntersectionObserver instance when the ref changes (ac2f54a)
- useIntersection: reset an intersectionObserverEntry when the ref changes (3f8687e)
- useIntersection: return null if IntersectionObserver is not supported (4f6d388)
13.22.2 (2020-01-27)
- deps: update dependency @xobotyi/scrollbar-width to v1.7.0 (db74101)
13.22.1 (2020-01-27)
- deps: update dependency @xobotyi/scrollbar-width to v1.6.0 (431ba5d)
13.22.0 (2020-01-24)
- Fail testing and update doc (57b9041)
- add useLongPress hook (45681b8)
13.21.0 (2020-01-20)
- Typings for
useDefault
(fa0f53b)
13.20.0 (2020-01-17)
useMap
: allow resetting with provided value other then initial (7645f72)
13.19.0 (2020-01-16)
- add useError hook (65f3644)
13.18.0 (2020-01-16)
- check for null (d619c39)
- add serializer/deserializer option to useLocalStorage (5316510)
13.17.0 (2020-01-15)
- add support for body lock on iOS (d778408)
13.16.1 (2020-01-14)
- update the types dep for js-cookie (5c55d59)
13.16.0 (2020-01-14)
- add option to useTitle to restore title on un-mount (b8b3e47)
13.15.0 (2020-01-13)
- add useCookie hook (4e5c90f)
13.14.3 (2020-01-08)
- useUpdateEffect cleanup test returns false positive (9b31c42)
- useUpdateEffect test returning false positive (#865) (1946006)
13.14.2 (2020-01-08)
- bump fast-shallow-equal (19b2b39)
13.14.1 (2020-01-07)
- useUpdateEffect returns optional cleanup function (0ce421c)
- useUpdateEffect returns optional cleanup function (#864) (7960127)
13.14.0 (2020-01-03)
- πΈ add [vertical] flag to useSlider() hook (777865c)
13.13.0 (2019-12-27)
- add useShallowCompareEffect and useCustomCompareEffect hooks (ba8803e)
13.12.2 (2019-12-10)
- useSet: "has" method in useSet updated to reference latest set object (4f1d8c2)
13.12.1 (2019-12-09)
- useMap: methods with side effects should be stable across renders. (020b4db)
13.12.0 (2019-12-09)
13.11.0 (2019-12-08)
- πΈ add useUnmountPromise hook (01421bc)
13.10.2 (2019-12-05)
- useUpdate hitting maxInt, failing to trigger rerender (93e7291)
13.10.1 (2019-12-03)
- "get" method in useMap updated to reference latest map object (044d267)
13.10.0 (2019-11-28)
13.9.0 (2019-11-23)
13.8.2 (2019-11-22)
- #792: make useUnmount invoke the current callback version instead of very first (75284c6), closes #792
13.8.1 (2019-11-21)
- useAsyncFn does not discard old promises and might produce races (022fa0b)
13.8.0 (2019-11-14)
- useStateValidator: Refactor method and improve typings; (436c210)
13.7.0 (2019-11-14)
- Add useSet hook (095b4de)
13.6.3 (2019-11-12)
- remove any types in useThrottleFn (bb5baea)
13.6.2 (2019-11-11)
- restrict useThrottleFn types (61a83d1)
13.6.1 (2019-11-10)
- π check window.Event constructor exists in useLocation (ad09431)
13.6.0 (2019-11-10)
13.5.0 (2019-11-08)
- resolveHookState: by accident removed needed type. (59aa41c)
- useList: reimplemented useList hook; (1840b57)
13.4.0 (2019-11-08)
- useStateList: implemented
currentIndex
,setState
,setStateAt
methods as requested in #634; (43cb6aa)
13.3.0 (2019-11-06)
13.2.2 (2019-11-06)
13.2.1 (2019-11-04)
- yarn.lock: re-create the yarn.lock file with nailed versions in devDeps (f094a3a)
13.2.0 (2019-11-04)
- re-create yarn.lock (d48e03e)
- re-create yarn.lock (ccdffe0)
- usePreviousDistinct: add tests for undefined value behaviour; (cb373f9)
- usePreviousDistinct: improve types; (30f53e8)
- usePreviousDistinct: now predicate not called on initial render; (fbe9b13)
- useStateList: rework useStateList to make it work properly. (242c274)
- useTitle: reworked hook to make it synchronous without useUpdate; (a133267)
- useWindowSize: A bit changed lyfecycle and added types; (03bdecf)
13.1.0 (2019-11-01)
- pull request template for features (1dc21f3)
13.0.1 (2019-11-01)
- useLockBodyScroll: infer overflow type directly from declaration. (26baf47)
13.0.0 (2019-11-01)
- remove useRefMounted hook (ad74d3d)
- useRefMounted: remove obsolete hook; (dc364c8)
- useWait: removed from package due to it is simple reexport of other package; (d7c38bd)
- useWait hook has been removed from react-use
- deprecated useRefMounted hook is now removed, use useMountedState hook instead
12.13.0 (2019-10-31)
- useCounter: reworked with use of new resolveHookState function plus improved memory usage; (befcf84)
- useGetSet: reworked with use of new resolveHookState function plus improved memory usage; (9b5d0f2)
- react-like state resolver to use it in stateful hooks; (9fd02eb)
12.12.0 (2019-10-31)
- add typings for createReducer (f1cf036)
12.11.0 (2019-10-31)
- useWait: add deprecation messages to readme and export; (d338245)
12.10.0 (2019-10-30)
- useUpdate: improve memory usage - now single function instance to increment all counters; (0f02fd0)
12.9.1 (2019-10-28)
- useSize avoid crash in Safari 11 (da0e66b)
12.9.0 (2019-10-26)
- add createBreakpoint (79ba4ef)
12.8.0 (2019-10-25)
- add ensuredForwardRef and useEnsuredForwardedRef (1bfe063)
12.7.2 (2019-10-23)
- π bump set-harmonic-interval package version (f7c709a)
12.7.1 (2019-10-17)
12.7.0 (2019-10-17)
- useMultiStateValidator (ae26988)
12.6.0 (2019-10-16)
12.5.0 (2019-10-13)
12.4.0 (2019-10-12)
12.3.2 (2019-10-12)
12.3.1 (2019-10-10)
12.3.0 (2019-10-07)
12.2.3 (2019-10-05)
12.2.2 (2019-09-26)
12.2.1 (2019-09-23)
12.2.0 (2019-09-02)
- improve useWindowSize performance rAF (60a4937)
12.1.0 (2019-09-01)
- πΈ add useSearchParam() hook (b22f32f)
- πΈ support server-side rendering in useSearchParam() hook (64ac924)
12.0.0 (2019-09-01)
- store "paused" instead of "isPlaying" in media state (ff900d5)
- now media players return "paused" instead of "isPlaying" in their state.
11.3.2 (2019-08-25)
- useThrottle & useThrottleFn proper timeout type; (e2cdb94)
11.3.1 (2019-08-25)
- update createReducer to fix initial state (fd083f2)
11.3.0 (2019-08-25)
11.2.0 (2019-08-25)
- add useCircularIterate (8d84340)
11.1.1 (2019-08-25)
11.1.0 (2019-08-25)
- πΈ add useHarmonicIntervalFn() hook (d9f21e3)
11.0.2 (2019-08-23)
11.0.1 (2019-08-23)
- correct useSpring() hook behaviour (d7a622d)
11.0.0 (2019-08-22)
- useTimeout now returns a tuple
10.8.0 (2019-08-20)
- πΈ support useBattery hook on server side (5d31cf0)
- πΈ use only one useState and one useEffect call (2d0fabf)
10.7.1 (2019-08-20)
10.7.0 (2019-08-19)
10.6.4 (2019-08-19)
10.6.3 (2019-08-19)
- allow import default for ESM (bd3a062)
- rollup build error: Cannot call a namespace ('writeText') (b3e672b)
10.6.2 (2019-08-18)
- π fix master (d1df7a5)
10.6.1 (2019-08-17)
- useUpdateEffect run on the wrong time (1d5cd10)
10.6.0 (2019-08-17)
- add min/max to useNumber (586faab)
10.5.0 (2019-08-03)
- add useRafLoop hook (be7d7c3)
10.4.0 (2019-08-02)
- add useMountedState hook (9081b99)
10.3.1 (2019-08-02)
- storybook: fix useKeyboardJs import path (b7481f6)
- useKeyboardJs: fix argument type error (8c820ce)
- allow string list in useKeyboardJs hook (aecbd0b)
10.3.0 (2019-07-26)
- add useDefault hook (ade0557)
10.2.0 (2019-07-25)
- useWindowScroll - for cross-browser compatibility (5987cc8)
- useWindowScroll - for cross-browser compatibility (#480) (e37dd8d)
10.1.2 (2019-07-21)
- remove OpenCollective postinstall hook (26dcebc)
10.1.1 (2019-07-21)
- useMouse & useMouseHovered type definitions for SVG (9e97451)
- useMouse & useMouseHovered type definitions for SVG (#479) (e2e4a60)
10.1.0 (2019-07-17)
- add latest
react-wait
types (6ebe3bb)
10.0.0 (2019-07-17)
- remove big libs from peerDependencies (1dbdc5d)
useSpring
anduseKeyboardJs
hooks need to be imported directly now and libs they depend on are not in peerDependencies anymore.
9.12.0 (2019-07-16)
- π fix useDebounce import (40b33da)
- add useInterval hook (6645ed9)
9.11.2 (2019-07-16)
- support useMedia usage server-side (50a5160)
9.11.1 (2019-07-16)
- createReducer stable dispatch function identity (9780545)
9.11.0 (2019-07-11)
9.10.0 (2019-07-10)
9.9.0 (2019-07-10)
9.8.3 (2019-07-10)
- useLocalStorage types for functional updates (e2b8278)
9.8.2 (2019-07-08)
- useSize: prevents accessing iframe's property when it's not defined (c9b5cdc), closes #442
- useSize: prevents accessing iframe's property when it's not⦠(#443) (8f04e8f)
- iframe can be null (a9e3bab)
9.8.1 (2019-06-30)
- lint fixes via lint:fix (7ce8e4f)
- useMap uses prevMap state which is safer (3554f79)
- useMap: remove now also uses prevMap state to not overwrite or lose state (0a59869)
9.8.0 (2019-06-30)
- π fix test and add pre-push hook (1353b6c)
9.7.2 (2019-06-27)
- save to localStorage only when state changes (ba6d375)
- use correct list variable in useList (#412) (b937296)
9.7.1 (2019-06-23)
- π use synchronouse effect to subscribe to observables (376eea3)
9.7.0 (2019-06-19)
9.6.0 (2019-06-18)
- πΈ add useScrolling hook (bd9928e)
- πΈ add useScrolling hook to index (b3ba702)
- add useScrolling docs (25a93f6)
- add useScrolling story (760edf1)
9.5.0 (2019-06-16)
- add missing
rate
property (fb795a6)
9.4.1 (2019-06-12)
- fix Storybook docs Markdown import (962a312)
9.4.0 (2019-06-04)
9.3.0 (2019-05-31)
- improve useAsync and useAsyncFn (3ab1d5d)
9.2.0 (2019-05-31)
9.1.2 (2019-05-24)
- useAudio: src change should reset isPlaying state (65bffca)
9.1.1 (2019-05-24)
- useMap: more stringent type (7bbbe47)
9.1.0 (2019-05-24)
- pass arguments to useAsyncFn function (6789d10)
9.0.0 (2019-05-09)
- improve useToggle interface (81b1cac)
- useToggle interface changed
8.4.0 (2019-05-07)
- add usePrevious hook (4861a39)
8.3.1 (2019-04-29)
- useRefMounted: only run and cleanup once (6a651be)
8.3.0 (2019-04-29)
- add type define for createMemo (6638c1a)
8.2.0 (2019-04-23)
- make options useGeolocation optional (01959a1)
- support options for useGeolocation (7d4c59e)
8.1.4 (2019-04-23)
- π support click away on iOS, allow user to chose events (f14e1d7)
8.1.3 (2019-04-18)
- π don't fire typing event on modifier keys pressed (ce76edf)
8.1.2 (2019-04-12)
- useIdle: include 'ms' prop in uesEffect dependencies (7a670a2)
8.1.1 (2019-04-09)
- π make useLocation work on server, improve hook (6f6030a)
8.1.0 (2019-04-08)
- add useAsyncCallback hook (c6ecb36)
8.0.0 (2019-04-08)
- change useCopyToClipboard implementation (c391038)
- useCopyToClipboard interface changed
7.6.0 (2019-04-07)
- π handle case when activeElement is empty (3d83705)
- πΈ add useStartTypings hook (5fda2e0)
7.5.0 (2019-04-07)
- πΈ add onCopy and onError events and use NPM copy library (2553225)
- πΈ improve useCopyToClipboard() hook (f185044)
- πΈ make useCopyToClipboard hook interface more idiomatic (0a6d773)
- add useCopyToClipboard() hook (4d8e276)
7.4.0 (2019-04-07)
- add useDeepCompareEffect hook (77e015b)
7.3.1 (2019-03-31)
- π call key{up/donw} callbacks in useKeyPressEvent correct (60064a6)
7.3.0 (2019-03-31)
- add useEffectOnce hook (06c12d4)
7.2.0 (2019-03-31)
- default dependency array for useAsync and useAsyncRetry (cb140a0)
7.1.1 (2019-03-30)
- consistent refs in useFullscreen hook (dc85499)
7.1.0 (2019-03-29)
- useClickAway TypeScript typings (4b20083)
- pass click event in useClickAway to user (01e38bc)
7.0.2 (2019-03-29)
- π add rebound and keyboards deps back to peerDependencies (4fc46aa)
7.0.1 (2019-03-29)
- add optional attributes in AsyncState (b0c9770)
7.0.0 (2019-03-28)
- π fix TypeScript build errors (5c95f28)
- π make sure all paths in usePageLeave return (6655092)
- π track "over" state better in useDrop hook (acc355c)
- πΈ add clear() to useList, use fn for state updates (b20cf7c)
- πΈ add createRenderProp function for creating render-props (f4fd748)
- πΈ add useDrop hook (6e415cf)
- πΈ add useDropArea hook (676d0de)
- πΈ add useEvent hook (2a13cfb)
- πΈ add useKey hook (299fd86)
- πΈ add useKeyboardJs hook (3516aa6)
- πΈ add usePageLeave hook (33ac91b)
- πΈ add useThrottleFn hook that throttles function (0ccdf95)
- πΈ improve useFullscreen hook (7c38165)
- πΈ keep keyboard events in useKeyPress hook (00fecab)
- πΈ refactor useKeyPressEvent hook (c0658f6)
- πΈ return events from useKeyboardJs hook (aa277b8)
- πΈ simplify and improve useThrottle hook (452e8d9)
- πΈ useKeyPress hook now uses useKey, KeyboardJS removed (727743b)
- 𧨠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
6.2.2 (2019-03-28)
- fix deps arg and union type in useAsync and useAsyncRetry (929e726)
6.2.1 (2019-03-27)
- set 'module' field properly (35d4fc2)
6.2.0 (2019-03-27)
- emit code in ES Module mode (464642e)
6.1.0 (2019-03-26)
- add useThrottle hook (756bc99)
6.0.0 (2019-03-26)
- π€ don't install only large dependencies (6170067)
- πΈ add {bound} option to useMouse (9bb02a1)
- πΈ implement useClickAway, remove useOutsideClick (a03143a)
- πΈ keep global state of all useLockBodyScroll hooks (5dd10e9)
- πΈ move extra mouse functionality into useMouseHovered (8b0580e)
- more precise size for useMouse (b887075)
- 𧨠error is logged instead of thrown in development environment
- 𧨠useOutsideClick is now useClickAway
- 𧨠useCallbag hook is removed, some hooks KeyboardJS and Rebound installed separately
5.16.1 (2019-03-26)
- types for useGeolocation (b72c098)
5.16.0 (2019-03-25)
- more precise size for useMouse (1761031)
5.15.0 (2019-03-25)
- add useMouse hook (17dfa8e)
5.14.0 (2019-03-24)
- πΈ keep global state of all useLockBodyScroll hooks (9bb7047)
- add useLockBodyScroll hook (d990db4)
5.13.0 (2019-03-23)
- add useScroll hook (a92e9b2)
5.12.1 (2019-03-23)
- π cancel animation frame on un-mount in useWindowScroll() (bc021ce)
5.12.0 (2019-03-23)
- add useWindowScroll hook (076d0de)
5.11.0 (2019-03-22)
- πΈ refresh useCss hook (0116cc9)
5.10.0 (2019-03-21)
- add useUpdateEffect hook (c2afd23)
5.9.0 (2019-03-21)
- add useAsyncRetry hook (576cf42)
- remove asyn/await wrapper (8e3de1c)
5.8.1 (2019-03-20)
- π use useLayoutEffect() in useCss() to inject CSS quick (7328f26)
5.8.0 (2019-03-19)
- release useKeyPressEvent() (96798e2)
5.7.1 (2019-03-15)
- π allow every promise in usePromise() hook have own type (d60fef7)
5.7.0 (2019-03-15)
- π fix TypeScript typings for usePromise() (ba0acb6)
- πΈ add usePromise() hook (aad368b)
5.6.0 (2019-03-13)
- transpile down to ES5 (61382e3)
5.5.6 (2019-03-11)
5.5.5 (2019-03-04)
- π make useWindowSize work on server (8f93853)
5.5.4 (2019-02-25)
5.5.3 (2019-02-25)
- deps: update dependency use-callbag to ^0.2.0 (4d49d0b)
5.5.2 (2019-02-24)
- deps: update dependency use-onclickoutside to ^0.3.0 (0baae6d)
5.5.1 (2019-02-24)
- deps: update dependency ts-easing to ^0.2.0 (3321e11)
5.5.0 (2019-02-23)
- Add remove method for useList (5a295d9)
5.4.1 (2019-02-19)
5.4.0 (2019-02-19)
- add error and loading fields to useGeolocation (6909a69)
5.3.1 (2019-02-17)
- π fix typings in useOrientation sensor (afbacac)
- π fix useSetState after React update (524abe5), closes #107 #107
- useOrientation breaks in some devices (d89bd54)
5.3.0 (2019-02-07)
- Add updateAt method for useList (ad05609)
5.2.3 (2019-02-07)
- π fix build and update React deps (27e26a0)
5.2.2 (2019-02-02)
- release useDebounce and useToggle fixes (12ad880)
5.2.1 (2019-01-04)
- use function to correctly update state in useToggle (d854d27)
5.2.0 (2019-01-02)
5.1.2 (2018-12-29)
- reset state when calling useEffect in useAsync (2f5af2c)
5.1.1 (2018-12-20)
5.1.0 (2018-12-19)
- π just use any for setTimeout because of diff environments (55673cb)
- π memoized does not receive arguments (244a533)
- π use Timeout type for build to work (8c66abe)
5.0.0 (2018-12-17)
- πΈ list all useAsync state props so that TS dont complain (7c1b107)
- πΈ remove experimental hooks (533e26f)
- use discriminated union in useAsync (966af4a)
- useRenderProp and useAsync are removed
4.11.1 (2018-12-16)
4.11.0 (2018-12-05)
- πΈ add useRefMounted hook (dfb0510)
4.10.0 (2018-11-10)
- bump useWait (124ef99)
4.9.0 (2018-11-06)
4.8.0 (2018-11-02)
- allow useSetState setter to accept function (bfd114a)
4.7.0 (2018-10-30)
- πΈ add useHoverDirty hook (c2aee59)
4.6.0 (2018-10-30)
- πΈ implement useLocalStorage without events (d211722)
4.5.0 (2018-10-29)
4.4.0 (2018-10-29)
- πΈ add useCallbag hook (ead142c)
4.3.0 (2018-10-29)
- πΈ add useOutsideClick hook (90d2c22)
4.2.0 (2018-10-29)
- πΈ add useVideo hook (ff05419)
- πΈ allow to pass React
4.1.0 (2018-10-29)
- πΈ add createMemo hook factory (8730eaa)
4.0.0 (2018-10-29)
- useCounter interface changed
3.1.0 (2018-10-29)
- πΈ add useGetSetState (dcd1013)
- β‘οΈ wrape useGetSetState callbacks in useCallback (3c1e57d)
3.0.0 (2018-10-29)
- πΈ accept any value type in useToggle and cast it to bool (869f767)
- now useToggle and useBoolean accept any value type and cast it to boolean.
2.3.0 (2018-10-29)
- πΈ add useBoolean hook (ce6de24)
2.2.0 (2018-10-29)
2.1.0 (2018-10-28)
- πΈ add useObservable (711e831)
2.0.0 (2018-10-28)
- useToggle interface changed
- π€ release v1 (4236cf0)
- π‘ store CircleCI artifacts, add git-cz (690dd5e)
- πΈ add useAsync hook (258d696)
- πΈ add useAudio hook (4336aa1)
- πΈ add useBattery hook (73ce535)
- πΈ add useCounter hook (79e5b8c)
- πΈ add useCss hook (2c0a7e4)
- πΈ add useFavicon hook (ab1739a)
- πΈ add useGeolocation hook (13a7326)
- πΈ add useHover hook (406af20)
- πΈ add useIdle hook (74d3ece)
- πΈ add useLifecycles hook (f99c89f)
- πΈ add useList hook (4bea508)
- πΈ add useLocation hook (46a8e2c)
- πΈ add useLogger hook (7c38b75)
- πΈ add useMap hook (6509c25)
- πΈ add useMedia hook (e1cc9ab)
- πΈ add useMediaDevices hook (4ea0277)
- πΈ add useMotion hook (91eb4ea)
- πΈ add useMount and useUnmount hooks (63a1444)
- πΈ add useNetwork hook (5881fa6)
- πΈ add useOrientation hook (c533b97)
- πΈ add useRaf hook (26b2593)
- πΈ add useSetState hook (972541d)
- πΈ add useSize hook (620b171)
- πΈ add useSpeech hook (3b971a2)
- πΈ add useSprgin hook (b4fe5b0)
- πΈ add useTimeout hook (86f094e)
- πΈ add useTitle hook (1bff6d8)
- πΈ add useToggle() hook (a36dceb)
- πΈ add useTween hook (877343e)
- πΈ add useWindowSize() hook (2c46899)
- πΈ do work on useLocaStorage (2541716)
- πΈ improve useSize, pass through state to the element (5b1356a)
- make semantic-release bump version
- Released v1.0.0