Releases: react-hookz/web
Releases · react-hookz/web
v14.2.0
14.2.0 (2022-05-12)
Features
useVibration
hook implementation and docs (#757) (db40294)
v14.1.0
14.1.0 (2022-05-12)
Features
- useCounter: port
useCounter
from react-use
(#751) (510947b), closes #33
v14.0.0
14.0.0 (2022-05-11)
Bug Fixes
useMediatedState
: make initial state be passed through mediator (#753) (727d224)
BREAKING CHANGES
useMediatedState
: useMediatedState
now passes initial state through mediator
v13.2.1
13.2.1 (2022-04-10)
Bug Fixes
- make
useRerender
operate integer increment instead of bool switch (#711) (409a21f), closes #691
v13.1.0
13.1.0 (2022-03-14)
Features
- implement
useRafState
hook (6cd44ec)
- implement
useWindowSize
hook (81819cf)
v13.0.0
13.0.0 (2022-02-25)
Features
useMediaQuery
: add synchronous mql state fetch (0e0be56)
- implement new hook -
useScreenOrientation
(107cc21)
BREAKING CHANGES
useMediaQuery
: useMediaQuery
now does synchronous fetch, this means
that in browser it will return final state on first render, while SSR
mode still return undefined
.
SSR users should set second parameter of this hook to true
, to
postpone state fetch until effects phase.