choojs / hyperx

🏷 - tagged template string virtual dom builder
BSD 2-Clause "Simplified" License
1.01k stars 48 forks source link

idea: hyperxify #11

Closed yoshuawuyts closed 8 years ago

yoshuawuyts commented 8 years ago

mithril has mithrilify and riot.js has riotify, perhaps we could have a hyperxify for hyperx?

This would save a flat 5kb minified / unminified per bundle, and some execution time too.

I'm currently not working on frontend stuff, so posting this here in case anyone has some spare time and reckons it'd be fun to build :sparkles:

edit: also worth noting: this removes the hard dependency on multiline string support available in browsers; pretty useful when targeting older systems!

ghost commented 8 years ago

Done: https://github.com/substack/hyperxify

yoshuawuyts commented 8 years ago

brilliant! :fire::fire::fire:

colingourlay commented 8 years ago

Bloody marvelous