devopera
devopera copied to clipboard
Event handling, from the DOM to JS and back: emerging patterns for event listeners
I'd like to write an article about patterns for event handling. Starting from JsAction, that has been recently open-sourced by Google, I'd like to explore the trends in e.h., from in-DOM-bound functions to event listeners to template-based solutions (Angular, Ractive, JsAction). Then explain how JsAction functionality could be obtained with a few lines of JS, and finally close with an update on the recently introduced Object.observe() method and how it will improve Angular & co performances letting these frameworks avoid dirty checking.