Skip to content

4.6.0

Choose a tag to compare

@SupremeTechnopriest SupremeTechnopriest released this 09 Apr 19:22
· 312 commits to master since this release

⚡️ Features

  • Added cross tab event reconciliation. See examples and README for usage and documentation.
  • Added an isLeader() method that returns a boolean indicating wether or not the current tab is the lead orchestrator for cross tab reconciliation.
  • Added a startManually configuration option to enable starting of the timer and activity detection manually. An alias to reset() called start() is also exposed to keep the code more semantic. If startManually is set to true, the IdleTimer component and useIdleTimer hook wont start until reset() or start() are called.

✨ Enhancements

  • Updated test suite. 100% test coverage and new utilities to help with run speed.

🐞 Bugfixes

  • Fixed a bug where throttle and debounce wouldn't work at higher values in useIdleTimer.