Me too, so last week I created gulp-pug-hyperscript to compile Pug/Jade templates to Hyperscript [1].
In order to completely avoid JS in the markup, event binding must be done outside of the markup. I do this by using event delegation rather than binding directly to elements.
In order to completely avoid JS in the markup, event binding must be done outside of the markup. I do this by using event delegation rather than binding directly to elements.
[1]: https://github.com/nextorigin/gulp-pug-hyperscript