# What changed in react-idle-timer

> 18 changes in react-idle-timer 5 from its official release notes, upgrade guides and advisories: 5 breaking, 6 new APIs and options. Each one cited. Sources checked 2026-10-30. HTML: https://unstale.sh/npm/react-idle-timer/

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

## react-idle-timer 5

### Breaking changes

- The capture property was removed. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The emitOnAllTabs property was removed. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The isLeader method was removed. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The passive property was removed. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The release was updated for React 17. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)

### New APIs and options

- Built-in prompt handling was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- Custom message broadcasting across tabs was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- A provider was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The immediateEvents property was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The syncTimers property was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- A higher order component was added. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)

### Performance

- All callbacks and methods are now memoized. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- The crossTab implementation was rewritten to be smaller and more efficient. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)

### Behavior and default changes

- Cross Tab options were simplified. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- Property values can now be dynamically updated. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- Timeouts and intervals now run in a web worker to bypass browser background throttles. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)

### Fixes and other changes

- Fixed getTotalActiveTime returning negative values. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
- Fixed an error when sending a message on a closed channel. (5.0.0) — [release notes](https://github.com/SupremeTechnopriest/react-idle-timer/releases/tag/5.0.0)
