Echo JS 0.11.0

<~>

m3g4p0p comments

m3g4p0p 2172 days ago. link 4 points
So we got rid of inline event handlers, and now it has come to this...! :-D
m3g4p0p 2189 days ago. link 1 point
Hey there, many thx for your feedback!

1) That seemed like an obvious approach at first... but then again there's nothing particular about the interpolation process, so you'd actually just end up reimplementing the default behaviour. Also, it would be more awkward to pass in (or not to pass in) an options object... I'll have a look at allowing both though!

2) That sounds like a nice idea! But wouldn't the regular html-loader to the trick as well?

const fromHTML = require('from-html')
const template = require('./template.html')
const { something } = fromHTML(template)
m3g4p0p 2191 days ago. link 1 point
This is just a small utility function I found useful in some projects of mine... so I thought maybe you'll find it useful too. :-)