Search results
2 packages found
A small React library to dispatch and forward React and custom events end emit values, inspired by Svelte's createEventDispatcher and Vue's $emit
published 1.0.1 2 years ago
M
Q
P
- 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.
- react
- event-dispatcher
- event
- emit
- forward-event
- event forwarder
- event-emitter
- component-event
- component event
- dispatch
- payload
- custom event
- custom-events
- event detail
published 0.2.2 a year ago
M
Q
P