event-aware
0.0.1 • Published 2 years ago
Dispatching and listening for application events in Typescript
- Dispatch custom component events with a payload, or forward React synthetic events. - Replicate Svelte's `createEventDispatcher` and Vue's `$emit` behavior in React. - Hook + HOC for class components. - TypeScript support.
A small React library to dispatch and forward React and custom events end emit values, inspired by Svelte's createEventDispatcher and Vue's $emit