Skip to content

Tags: zhengjitf/react-use

Tags

v17.2.4

Toggle v17.2.4's commit message
chore(release): 17.2.4 [skip ci]

## [17.2.4](streamich/react-use@v17.2.3...v17.2.4) (2021-04-23)

### Bug Fixes

* lint issues. ([66b0f23](streamich@66b0f23))
* **useLocalStorage:** reinitialize on key change ([fdd1b23](streamich@fdd1b23))
* add generic typing to createHTMLMediaHook. no typecheck problem with ref anymore. ([1f547ef](streamich@1f547ef))
* add generic typing to createHTMLMediaHook. no typecheck problem with ref anymore. ([ac4dd78](streamich@ac4dd78))

v17.2.3

Toggle v17.2.3's commit message
chore(release): 17.2.3 [skip ci]

## [17.2.3](streamich/react-use@v17.2.2...v17.2.3) (2021-04-06)

### Bug Fixes

* lint issues. ([5a5a575](streamich@5a5a575))

v17.2.2

Toggle v17.2.2's commit message
chore(release): 17.2.2 [skip ci]

## [17.2.2](streamich/react-use@v17.2.1...v17.2.2) (2021-04-06)

### Bug Fixes

* **useStateWithHistory:** support callback style setState ([fca687d](streamich@fca687d))

v17.2.1

Toggle v17.2.1's commit message
chore(release): 17.2.1 [skip ci]

## [17.2.1](streamich/react-use@v17.2.0...v17.2.1) (2021-03-11)

### Bug Fixes

* lint issues. ([3e8af15](streamich@3e8af15))
* useMeasure type definitions for SVG ([e200f7f](streamich@e200f7f))
* useUnmountPromise stops on immediate update ([9ff5c09](streamich@9ff5c09))

v17.2.0

Toggle v17.2.0's commit message
chore(release): 17.2.0 [skip ci]

# [17.2.0](streamich/react-use@v17.1.1...v17.2.0) (2021-03-10)

### Bug Fixes

* delete isClient ([72f4cb9](streamich@72f4cb9))
* lint issues. ([dc5bbe0](streamich@dc5bbe0))
* **useOrientation:** handle orientation being 0 ([793b053](streamich@793b053))
* **useOrientation:** update tests to increase coverage ([f9c743f](streamich@f9c743f))
* use window inside useEffect ([2f33aa8](streamich@2f33aa8))

### Features

* **useOrientation:** add tests ([f45cb70](streamich@f45cb70))

v17.1.1

Toggle v17.1.1's commit message
chore(release): 17.1.1 [skip ci]

## [17.1.1](streamich/react-use@v17.1.0...v17.1.1) (2021-02-10)

### Bug Fixes

* useMountedState should not change state on componentDidUpdate lifecycle ([701b306](streamich@701b306))

v17.1.0

Toggle v17.1.0's commit message
chore(release): 17.1.0 [skip ci]

# [17.1.0](streamich/react-use@v17.0.2...v17.1.0) (2021-02-01)

### Features

* **prettier:** make prettier a part of eslint. ([b6993a6](streamich@b6993a6))

v17.0.2

Toggle v17.0.2's commit message
chore(release): 17.0.2 [skip ci]

## [17.0.2](streamich/react-use@v17.0.1...v17.0.2) (2021-02-01)

### Bug Fixes

* proper definition for `useMeasure` ([1461527](streamich@1461527))

v17.0.1

Toggle v17.0.1's commit message
chore(release): 17.0.1 [skip ci]

## [17.0.1](streamich/react-use@v17.0.0...v17.0.1) (2021-01-31)

### Bug Fixes

* proper definition for isBrowser and isNavigator states. ([a087deb](streamich@a087deb)), closes [streamich#1777](streamich#1777)

v17.0.0

Toggle v17.0.0's commit message
chore(release): 17.0.0 [skip ci]

# [17.0.0](streamich/react-use@v16.1.0...v17.0.0) (2021-01-31)

### Features

* refactor the useNetwork hook. ([23037f2](streamich@23037f2))

### BREAKING CHANGES

* `useNetwork` hook renamed to `useNetworkState`.