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.
I'm Going to Need to Blog a Lot MoreOct 16, 2024 BloggingWith Twitter getting a lot worse, I'm going to need to blog a lot more...
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.
Getting Things Done... Like This Blog!Dec 21, 2015I've intended to launch a blog at justinfagnani.com for a very, very long time now. Prevailing over my procrastinating and complexifying nature I've finally done it, but only by cutting almost every corner possible. After a brief flirtation with blogging about Dart at dartery.blogspot.com, I wanted a…