Component Events in React
"Inspired by Svelte's
$emit, Evento brings component events to the world of React.
With Evento, a React component can dispatch a custom event with an optional payload to the component's consumer. Using Evento in your app allows getting rid of prop drilling without any state management tool, creating truly independent and agnostic components, and working with standardized events when dealing with event handlers.
You can use one of the two provided hooks or the HOC, if you are working with class components."