Releases: streamich/react-use
Releases Β· streamich/react-use
v5.2.1
5.2.1 (2019-01-04)
Bug Fixes
- use function to correctly update state in useToggle (d854d27)
v5.2.0
5.2.0 (2019-01-02)
Features
- πΈ add useKeyPress hook (01df885)
- useKeyPress: allow complex bindings via key combos (e53a20f)
v5.1.2
5.1.2 (2018-12-29)
Bug Fixes
- reset state when calling useEffect in useAsync (2f5af2c)
v5.1.1
5.1.1 (2018-12-20)
Bug Fixes
- lock react and react-dom to a fixed version (#83) (455812d)
v5.1.0
5.1.0 (2018-12-19)
Bug Fixes
- π just use any for setTimeout because of diff environments (55673cb)
- π memoized does not receive arguments (244a533)
- π use Timeout type for build to work (8c66abe)
Features
v5.0.0
5.0.0 (2018-12-17)
Features
- πΈ list all useAsync state props so that TS dont complain (7c1b107)
- πΈ remove experimental hooks (533e26f)
- use discriminated union in useAsync (966af4a)
BREAKING CHANGES
- useRenderProp and useAsync are removed
v4.11.1
4.11.1 (2018-12-16)
Bug Fixes
- synchronously re-render bug of useRaf hook (#77) (5d74348)
v4.11.0
4.11.0 (2018-12-05)
Features
- πΈ add useRefMounted hook (dfb0510)
v4.9.0
4.9.0 (2018-11-06)
Features