Description

Component Events in React

Overview

Inspired by Svelte's createEventDispatcher() and Vue's $emit, Evento introduces component events to the React ecosystem.

Benefits

  • Allows a React component to dispatch custom events, optionally carrying a payload.
  • Eliminates prop drilling without requiring any state‑management library.
  • Enables creation of truly independent and agnostic components.
  • Provides standardized event handling across your application.

Usage

You can employ either of the two supplied hooks or the higher‑order component (HOC) if you are working with class components.


Creator

Aÿlo Srd
@aylo_srd

Related Projects

RNRepo

RNRepo

React Native Pre-Built Artifacts

ReactUseKit

ReactUseKit

Collection of React Hooks & Helpers

React Native Builder Bob

React Native Builder Bob

Collection of Tools to Scaffold React Native Libraries

React Simplikit

React Simplikit

React Utility Library

Intlayer

Intlayer

Internationalization & Content Management Solution

React Native Legal

Generate License Acknowledgements