# What changed in react-use

> 15 changes in react-use 14 to 17 from its official release notes, upgrade guides and advisories: 7 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/react-use/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## react-use 17

### Breaking changes

- The useNetwork hook was renamed to useNetworkState, so developers must update their hook references. (17.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v17.0.0)

## react-use 16

### Breaking changes

- The comps directory was renamed to component. (16.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v16.0.0)
- The create* factories moved to the factory subdirectory; direct imports should use this path. (16.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v16.0.0)

## react-use 15

### Breaking changes

- The useMeasure hook no longer uses resize-observer-polyfill. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Keeps the previous result or error when called multiple times. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)

### New APIs and options

- Adds a remove feature for removing the stored value. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Adds a sensor hook for tracking scratch interactions. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)

### Behavior and default changes

- Adds dependency inference for the effect. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Works on the server and mocks the hook on the server or when ResizeObserver is unavailable. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)

### Fixes and other changes

- Improves the typings for useAsyncFn and useAsync. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Improves serialization handling and uses undefined instead of null for an empty value. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Defaults values to zeros when they have not been set. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)
- Removes set dependencies and makes the has method use the latest set object. (15.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v15.0.0)

## react-use 14

### Breaking changes

- The hook now returns only functions in the order stop, start, isActive. (14.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v14.0.0)
- Starting or stopping the loop no longer re-renders the parent component. (14.0.0) — [release notes](https://github.com/streamich/react-use/releases/tag/v14.0.0)
