deventh
Declarative (Synthetic) Event Handler
It's a tiny library with handler of events.
It uses fluent interface and is inspired by the implementation of event handling in Vue.
Recommendations
Yet it's not ready for production
Examples
@ { const openPhoto = const likePhoto = const handleClick = return <img src=photo onClick=handleClick /> }
Issues
- Add declarative properties
- Event interuptions
- Behavioural flags
- Add event keys
- Keyboard
- Mouse
- Touch
Dependencies
- schematic-fluent to organise fluent interface