The other day, we looked at the JavaScript Constructor Pattern, and how you can use it to create JS libraries. Today, I wanted to look at the JavaScript Class Pattern: what it is, how it’s different, and how to use it. This article is excerpt from my completely updated Writing JS Libraries course and ebook. Let’s dig in! (If you didn’t read the constructor pattern article, you should do that first.| gomakethings.com
Over the weekend, I sent an email to my newsletter subscribers asking them what kinds of things they’d like to learn about Web Components. One of the most common questions I got back was some variation of… Will Web Components replace JS libraries like React and Vue? Personally, I don’t think so. Let’s dig in! Web Components are a different kind of component To me, one of the reasons why Web Components have taken so long to catch on is that they were originally described as “a browse...| gomakethings.com