Dmitriy Sintsov
Dmitriy Sintsov
Does stencil have bind / unbind function / method? Knockout resolves many incompatibility troubles via manual binding / unbinding to DOM elements. Such way third party component may be bound...
I also use knockout.js in a large enough project. Not only small size of library and not enforcing of specific patters attracts me, but also complete possibility to develop in...
Vue uses it's own instances for binding - AFAIK one cannot use arbitrary class instance for binding - they use `new Vue()` or `Vue.extend()` to create bound instances. It is...
It would be nice to have short syntax: or a bit more cleaner one:
That works via providing separate sprintf.esm.js file. Which would use export sprintf, not module.exports. I use it with modern browsers and with rollup.js, not in node.
I run rollup.js in Deno.
One may look how underscore.js provides their esm distribution, for example.
.mjs extension is optional one (for disambiguation), it's not required. Chrome / Firefox load ES modules finely from ordinary .js file ES modules. https://underscorejs.org/underscore-esm.js Deno works with ES modules natively,...
As you wish. If one does not like esm.js, you may create sprintf.mjs though. It will work with modern browsers and with Deno. By the way, the author of Deno...
For example, underscore.js is major library which provides different versions, including ESM one.