Releases: react-hookz/web
Releases Β· react-hookz/web
v18.0.1
18.0.1 (2022-11-10)
Bug Fixes
- useStorageValue: make methods to be stable between renders (#1015) (2211bb7), closes #1014
v18.0.0
18.0.0 (2022-11-09)
BREAKING CHANGES
- useDocumentTitle has been removed.
v17.0.1
17.0.1 (2022-11-05)
Bug Fixes
- useStorageValue: respect
initializeWithValue
default, fix docs and tests (#1003) (1f730d6), closes #1002
v17.0.0
17.0.0 (2022-11-03)
- Rework
useStorageValue
to more simple and robust variant (#960) (7bcc385), closes #960
BREAKING CHANGES
- new implementation brings different API.
It is not backward compatible!
Co-authored-by: Arttu Olli
v16.1.0
16.1.0 (2022-10-23)
Features
- useDeepCompareMemo: Implement useDeepCompareMemo (#979) (532cc41), closes #871
v16.0.1
16.0.1 (2022-10-22)
Bug Fixes
- useCustomCompareMemo: Correctly infer the type of the value returned by the factory function (#976) (a625c55), closes #975
v16.0.0
16.0.0 (2022-10-09)
Styles
- remove I prefix from types and interfaces (c2a1ff4)
BREAKING CHANGES
I
prefix removed from all types having it.
v15.1.0
15.1.0 (2022-08-14)
Features
useCustomCompareMemo
- like useMemo but uses custom deps comparator (#895) (5b38e8d)
- implement useTimeoutEffect (#886) (a3f6f07)
v15.0.1
15.0.1 (2022-07-04)
Bug Fixes
- useLifecycleLogger: rework hook and improve tests coverage (#868) (bfba4c2)
v15.0.0
15.0.0 (2022-07-04)
Bug Fixes
- useMediaQuery: fix state stuck for concurrent mode (#866) (75db2b5), closes #849
Features
- implement
useControlledRerenderState
hook (#865) (ea4545b)
- useToggle: ignore react events passed to state setter (#867) (085f711), closes #861
BREAKING CHANGES
- useToggle:
useToggle
now ignores react events passed to its
state setter, so it can be used as event handler directly.
- useMediaQuery:
useMediaQuery
and useScreenOrientation
are
asynchronous now and yields undefined
at very first render, but
updates to actual value right after.