News for hackers. Stuff that matters.
Re:Next.js 2.0 by ramses0 on Monday March 27, 2017 @04:39PM (#13971549)
Take a look at http://markojs.com/ and http://markojs.com/docs/installing/

test.marko: `<h1 on-click('callMyFunc')>${ input.hello }</h1>`

component.js: `class { callMyFunc(e) { console.log(e); } }`

...gets compiled to test.marko.js which can then be require'd or using a special runtime loader or transformer. It hits a nice sweet spot for me, and is worth checking out.

There are no comments on this comment yet.