evented-react
To handle code with side-effects outside of your components, yo!
Example:
You can emit events from components like this!
@EventSource'authentication:authenticate' { return <button onClick=propsemit> CLICK THE THING </button> }
...but only if you wrapped it in something like this:
// You should probably put this somewhere more organized! <3const eventMap = 'authentication:authenticate': consolelog <EventProvider eventMap=eventMap> <TheThing /></EventProvider>
TODO:
[ ]: Actual documentation [ ]: Build it somehow [ ]: Create practical example