@0y0/use-enhanced-reducer
An alternative to React.useReducer that accepts middlewares to do some cool things before and after dispatch.
An alternative to React.useReducer that accepts middlewares to do some cool things before and after dispatch.
Global event standard output. Global event bus.
Event publish/subscribe library designed for convenience and type safety with TypeScript
reflexiv lib
`createEventDispatcher` creates a custom-event dispatcher for emitting component events. SolidJS equivalent of Svelte's [homonymous function](svelte.dev/docs#run-time-svelte-createeventdispatcher).
Modern, high-performance event emitter
a simple event emitter
Modern, high-performance event emitter
A plain JavaScript event broker designed for facilitating cross-component data exchange.
Simple route dispatcher for Cloudflare workers
Subscribe to an event and dispatch it
A class to watch and dispatch custom events.
Minimal events register library
Simple and modern async event emitter
A smart keyboard events dispatcher.
Simple and modern async event emitter
A simple Event Emitter class.
这是一个javascript事件的实现
Implements Event Emitter (PubSub, Observable) pattern.
React use hook for global event dispatch and listening