react-bus

A global event emitter for react.

MIT License

Downloads
5.5K
Stars
42
Committers
4

Bot releases are visible (Hide)

react-bus - v3.0.0 Latest Release

Published by goto-bus-stop over 3 years ago

  • Add typescript types.
  • Update to mitt 2.x, which requires that browsers support the Map API.
  • Require React >= 17.

All of this thanks to @achmadk!

react-bus - v2.0.1

Published by goto-bus-stop about 5 years ago

  • Remove console.logs.
react-bus - v2.0.0

Published by goto-bus-stop about 5 years ago

  • Remove withBus().
  • Add useBus() hook.
  • Add useListener() hook.
  • Require React >= 16.8.
react-bus - v1.0.3

Published by goto-bus-stop about 6 years ago

  • Add missing react peer dependency.
Package Rankings
Top 4.52% on Npmjs.org
Badges
Extracted from project README
npm bundlephobia
Related Projects