1 comment

[ 1.7 ms ] story [ 14.4 ms ] thread
First commit was in 2015 https://github.com/erikpukinskis/web-element/commit/237a7381... so I have been through a few versions!

Happy to answer questions about the ideas behind it. TL;DR it's just old school JavaScript functions, and that kind of made the design decisions for me. I really hate Babel and WebPack and all that. I don't think there's anything asynchronous so I didn't really have to address the ES6 question.

Would be happy to add patches to support people's preferred build systems though. I don't use 'em but if you point me in a direction, I am happy to improve my packaging.

P.S. It gets a bit tastier when you start using it with https://www.npmjs.com/package/function-call