Typescript 101 - Typing, Interfaces and Enums oh MY!
A beginner's guide to TypeScript fundamentals, covering basic typing, interfaces, and enums with practical examples.
A beginner's guide to TypeScript fundamentals, covering basic typing, interfaces, and enums with practical examples.
Explains why using async/await with Array.map() returns Promises and how to properly handle chained async operations with Promise.all or for loops.
A guide to simplifying asynchronous JavaScript code by creating a promisified version of setTimeout for cleaner, more readable sequences.
A developer explains how to split an array into chunks to parallelize tasks, using a JavaScript function to improve performance in web scraping.
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.