Skip to main content
Blog

Latest writings

Notes on AI agents, Salesforce, automation, micro-SaaS, and engineering.

Beyond Frameworks: Practical DOM Manipulation Techniques for High-Performance UIs
February 21, 2026

Beyond Frameworks: Practical DOM Manipulation Techniques for High-Performance UIs

Build a small to-do list in plain JavaScript: cache elements, batch inserts, use one delegated listener, link DOM to state with data attributes, and avoid XSS.

DOM ManipulationFrontend DevelopmentJavaScriptPerformance
Read Article
The Frontend Architecture: From Junior Developer to Tech Lead
February 21, 2026

The Frontend Architecture: From Junior Developer to Tech Lead

A practical roadmap for frontend developers: what to learn and how your job changes at each step from junior to mid-level, senior and tech lead.

Career GrowthFrontend DevelopmentMentorshipSoftware Architecture
Read Article
Architecting Scalable JavaScript: OOP Principles & Design Patterns
February 21, 2026

Architecting Scalable JavaScript: OOP Principles & Design Patterns

Use private class fields, then the Module, Singleton and Observer patterns, in runnable JavaScript, and combine them into a small bot controller for an automation project.

System ArchitectureJavaScriptDesign PatternsWeb Development
Read Article
Why TypeScript Matters: Adding Type Safety to Your JavaScript Projects
February 21, 2026

Why TypeScript Matters: Adding Type Safety to Your JavaScript Projects

See what TypeScript catches before your code runs: convert a fragile JavaScript function, handle optional data, avoid the any trap, and add TypeScript to a project.

Web DevelopmentSoftware EngineeringJavaScriptBest Practices
Read Article
REST vs. GraphQL: A Frontend Engineer’s Reality Check
February 21, 2026

REST vs. GraphQL: A Frontend Engineer’s Reality Check

Build the same dashboard data layer twice, once with REST and once with GraphQL, in TypeScript, and compare round trips, caching, error handling and typing.

Frontend DevelopmentREST APIWeb Architectureapi-design
Read Article
Secure Frontend Auth: The Definitive Guide to JWTs, Cookies, and Storage Strategies
February 21, 2026

Secure Frontend Auth: The Definitive Guide to JWTs, Cookies, and Storage Strategies

Where should a single page app keep its JWT? Compare localStorage, memory and HttpOnly cookies, then build a refresh flow with Express cookies and Axios interceptors.

Node.jsReactWeb DevelopmentAuthentication
Read Article
Mastering Chrome DevTools: Debugging Techniques That Save Hours of Development Time
February 21, 2026

Mastering Chrome DevTools: Debugging Techniques That Save Hours of Development Time

Go beyond console.log in Chrome DevTools: live expressions, logpoints, conditional and XHR breakpoints, network throttling and blocking, local overrides and snippets.

DebuggingChrome DevToolsWeb Developmentautomation
Read Article
Mastering the Metal: Essential Web APIs & Browser Internals for Frontend Engineers
February 21, 2026

Mastering the Metal: Essential Web APIs & Browser Internals for Frontend Engineers

The browser APIs underneath every framework: the DOM and BOM, fetch with AbortController, cookies vs Web Storage vs IndexedDB, microtasks, and Intersection Observer.

System DesignFrontend EngineeringWeb APIsJavaScript
Read Article
Demystifying CORS, HTTP, and Security: A Builder’s Guide
February 21, 2026

Demystifying CORS, HTTP, and Security: A Builder’s Guide

Why the browser blocks your cross-origin fetch, how preflight requests work, how to configure CORS in Express without opening a hole, and what else your API needs.

Web SecurityHTTPapi-designNode.js
Read Article
Mastering Asynchronous Operations with JavaScript Promises: A Builder's Guide
February 21, 2026

Mastering Asynchronous Operations with JavaScript Promises: A Builder's Guide

Learn JavaScript Promises by building a multi-city weather dashboard: fetch chains, error handling, Promise.all, Promise.allSettled and timeouts that really cancel.

JavaScriptWeb DevelopmentFrontend EngineeringAsynchronous Programming
Read Article
Understanding the JavaScript Runtime: Event Loop, Call Stack, and Task Queue Explained
February 21, 2026

Understanding the JavaScript Runtime: Event Loop, Call Stack, and Task Queue Explained

See how the call stack, task queue and microtask queue decide the order your JavaScript runs, why setTimeout(fn, 0) waits, and how to keep Node.js responsive.

JavaScriptWeb DevelopmentComputer ScienceNode.js
Read Article
Modern Async Patterns: Making Asynchronous Code Readable with Async/Await and Generators
February 21, 2026

Modern Async Patterns: Making Asynchronous Code Readable with Async/Await and Generators

Refactor nested promise chains into flat async/await code, run independent work in parallel with Promise.all, and page through an API with an async generator.

JavaScriptWeb DevelopmentAsync/AwaitGenerators
Read Article
From Prototypes to ES6 Classes: Understanding JavaScript's Object-Oriented Nature
February 21, 2026

From Prototypes to ES6 Classes: Understanding JavaScript's Object-Oriented Nature

See what the class keyword does underneath: constructor functions, the prototype chain, extends rebuilt by hand, and why it explains lost this, polyfills and shared methods.

JavaScriptWeb DevelopmentOOPES6
Read Article
From Development to Production: A Builder's Guide to Frontend Deployment StrategiesAWS
February 21, 2026

From Development to Production: A Builder's Guide to Frontend Deployment Strategies

Compare three ways to ship a frontend: a managed platform, S3 with CloudFront, and a Docker image with Nginx. Each comes with config, caching rules and a CI step.

DockerReactAWSCI/CD
Read Article
Automating Code Quality: The Modern Stack with ESLint, Prettier, and Husky
February 21, 2026

Automating Code Quality: The Modern Stack with ESLint, Prettier, and Husky

Set up Prettier, ESLint flat config with TypeScript and eslint-config-prettier, then make Husky and lint-staged check every commit. Tested with ESLint 10.

Web DevelopmentautomationESLintPrettier
Read Article
Improving Performance with Server-Side Rendering: Concepts and Implementation
February 21, 2026

Improving Performance with Server-Side Rendering: Concepts and Implementation

See why server-side rendering paints content sooner than a client-rendered app, then build a streaming Next.js page with Server Components and Suspense.

EngineeringNext.jsReactSEO
Read Article
Introduction to Micro Frontends: Building Scalable Architectures
February 21, 2026

Introduction to Micro Frontends: Building Scalable Architectures

Learn what micro frontends are, compare build-time, server-side and run-time integration, and wire two apps together with webpack Module Federation and custom events.

System DesignReactArchitectureWebpack
Read Article
Demystifying the Build Pipeline: A Deep Dive into Webpack and Babel Configuration
February 21, 2026

Demystifying the Build Pipeline: A Deep Dive into Webpack and Babel Configuration

Set up webpack 5 and Babel 8 from an empty folder: loaders, plugins, an HTML page, the dev server, CSS and images, and chunk splitting, with a config you can copy.

JavaScriptWebpackFrontend EngineeringBabel
Read Article
Automated Testing in React: Unit Testing with Jest and React Testing Library
February 21, 2026

Automated Testing in React: Unit Testing with Jest and React Testing Library

Set up Jest and React Testing Library, then test a newsletter form the way a user uses it: typing, clicking, a loading state, success and a failed request.

ReactautomationTestingFrontend Development
Read Article
React State Management: Context API vs. Redux & Building a Theme Switcher
February 21, 2026

React State Management: Context API vs. Redux & Building a Theme Switcher

When React Context is enough and when Redux Toolkit earns its place, with a comparison table and a tested dark mode switcher built on Context and a custom hook.

JavaScriptWeb DevelopmentReactState Management
Read Article
React Architecture: Advanced Navigation and Data Flow Patterns
February 21, 2026

React Architecture: Advanced Navigation and Data Flow Patterns

Let the URL drive your React app: keep filters in search params, load data with route loaders, share layout data through Outlet context and show pending UI.

Web DevelopmentReactFrontendReact Router
Read Article
React Architecture: Mastering State and Props in Class vs. Functional Components
February 21, 2026

React Architecture: Mastering State and Props in Class vs. Functional Components

Build the same React counter as a class and as a function to see how props and state differ, then avoid stale closures, lost object fields and slow initial state.

JavaScriptReacthooksWeb Development
Read Article
Mastering React Hooks: From useState to Building a Production-Ready Custom Hook
February 21, 2026

Mastering React Hooks: From useState to Building a Production-Ready Custom Hook

Build a working useForm custom hook in React: grouped state, a generic change handler, validation derived during render and a submit handler that awaits your callback.

Web DevelopmentReactJavaScriptFrontend Engineering
Read Article
Getting Started with React: Deconstructing JSX and Component Architecture
February 21, 2026

Getting Started with React: Deconstructing JSX and Component Architecture

Start a React project the way react.dev recommends, see what JSX compiles to, and build a reusable card component with props, plus the three JSX rules.

Web DevelopmentFrontend EngineeringCoding BasicsJavaScript
Read Article
Newsletter

The Automation Update

A newsletter on AI agents, developer tools, micro-SaaS, and systems thinking.

New issues when there's something worth sending. Unsubscribe anytime.