Writing Javascript Promises
A tutorial on how to write and implement custom JavaScript Promises for handling asynchronous operations.
A tutorial on how to write and implement custom JavaScript Promises for handling asynchronous operations.
A comprehensive React cheat sheet covering project setup, components, props, state, lifecycle, forms, JSX, and Hooks with code examples.
A guide to resolving variable naming conflicts between Python's snake_case and JavaScript's camelCase in full-stack web development.
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 tutorial on connecting to a MongoDB database using the Mongoose ODM library in JavaScript, including setup, schemas, and queries.
A technical guide explaining JavaScript Promises and comparing three methods for making API calls: Fetch, Axios, and $.ajax.
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.