Composite Map Keys in JavaScript with BitsetsNov 9, 2024 JavaScriptSometimes you need to store and retrieve information related to groups of objects. One way to do this is by using BitInt bitsets as composite map keys.
Reactive State with Signals in LitOct 9, 2024 JavaScriptSignalsLitWeb ComponentsToday the Lit project release a new Lit Lab's package that I've been working on for a while that integrates the Signals TC39 Proposal with Lit: `@lit-labs/signals`! 🎉
How to Publish Web Components to NPMNov 1, 2019 Web ComponentsnpmJavaScriptWhat follows is my personal checklist for publishing web components to npm. This checklist attempts to maximize compatibility, standards compliance, flexibility, and usefulness to your users.
Enhancing Mixins with Decorator FunctionsJan 7, 2016 JavaScriptOOPmixinsLast time, in "Real" Mixins with JavaScript Classes, we saw how we can create powerful ES6 mixins by using class expressions as subclass factories. Now, let's look at some enhancements that make our mixins more powerful, in a way still requires no framework for mixin users, and is…
"Real" Mixins with JavaScript ClassesDec 21, 2015 JavaScriptOOPmixinsMixins and Javascript: The Good, the Bad, and the Ugly. Mixins and JavaScript are a like the classic Clint Eastwood movie. The good is that composing objects out of small pieces of implementation is even possible due to JavaScript's flexible nature, and that mixins are fairly popular in certain circles.