npm / react-idle-timer
react-idle-timer
What changed in react-idle-timer 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-30.
5 breaking6 new APIs and options2 performance3 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-idle-timer 518 changes
Breaking changes 5
The capture property was removed.
The emitOnAllTabs property was removed.
The isLeader method was removed.
The passive property was removed.
The release was updated for React 17.
New APIs and options 6
Built-in prompt handling was added.
Custom message broadcasting across tabs was added.
A provider was added.
The immediateEvents property was added.
The syncTimers property was added.
A higher order component was added.
Performance 2
All callbacks and methods are now memoized.
The crossTab implementation was rewritten to be smaller and more efficient.
Behavior and default changes 3
Cross Tab options were simplified.
Property values can now be dynamically updated.
Timeouts and intervals now run in a web worker to bypass browser background throttles.
Fixes and other changes 2
Fixed getTotalActiveTime returning negative values.
Fixed an error when sending a message on a closed channel.