UNPKG

use-app-events

Version:

Event system for global communication in vanilla JavaScript and React.

10 lines (9 loc) 191 B
const e = () => Object.seal({ broadcast: !0, debug: !1, // TODO: make the `reset` property non-configurable reset: () => Object.assign(t, e()) }), t = e(); export { t as default };