The failed promise of Web Components
A critique of Web Components' failure to simplify web development, arguing they became over-engineered and inaccessible.
A critique of Web Components' failure to simplify web development, arguing they became over-engineered and inaccessible.
A comprehensive guide to the null value in JavaScript, covering its meaning, detection, differences from undefined, and usage pitfalls.
Introducing merced-spinup, a CLI tool to quickly bootstrap project templates for various frontend libraries and frameworks, including custom web component libraries.
A technical guide explaining JavaScript Promises and comparing three methods for making API calls: Fetch, Axios, and $.ajax.
A tutorial on connecting to a MongoDB database using the Mongoose ODM library in JavaScript, including setup, schemas, and queries.
A guide to using the JavaScript Fetch API with async/await syntax, covering data fetching, error handling, and request cancellation.
A reference guide comparing jQuery and vanilla JavaScript for DOM manipulation, covering element selection, creation, and event handling.
A tutorial on creating a fake JavaScript API using mock data, promises, and delays for frontend development without a backend.
Explains JavaScript event handling in browsers and Node.js, covering built-in DOM events, custom events, and practical implementation.
An introduction to JavaScript generator functions, explaining their syntax, the yield keyword, and practical use cases.
A critique of JavaScript's Array.reduce method, arguing it often creates hard-to-read code and should be avoided in favor of simpler alternatives.
A guide explaining the syntax, behavior, and best practices for using arrow functions in modern JavaScript, including lexical scoping of 'this'.
Explains the lifecycle functions (connectedCallback, disconnectedCallback, etc.) available in native Web Components for controlling behavior during rendering and updates.
Guide on calling JavaScript functions from TypeScript, covering configuration, type inference issues, and solutions like declaration files.
A step-by-step guide explaining async/await in JavaScript, using a story about a greedy boss to illustrate concepts from callbacks to promises.
A tutorial on using Jest to test class methods, including spying on instances and prototypes to verify method calls.
A developer shares their favorite recent tech discoveries, including the GSAP ScrollTrigger plugin for animations and the Eleventy static site generator.
A tutorial on styling Web Components using external stylesheets, style tags, CSS parts, and slots for encapsulated UI development.
Article critiques Google Analytics' privacy and performance costs, and explores ethical, self-hosted alternatives for website tracking.
A tutorial on creating basic Web Components, covering setup, Hello World examples, and using ShadowDOM for encapsulation.