Posts

Thoughts, tutorials, and insights from my journey in software development.

Showing 1-12 of 14 posts

AbortController: The Art of Graceful Cancellation in JavaScript

Master the art of canceling async operations with AbortController. Learn practical patterns for fetch requests, timeouts, cleanup, and building responsive applications.

views
24 Oct 2025

Demystifying JWT: The Compact Powerhouse Behind Modern Authentication

A deep dive into JSON Web Tokens (JWT) — what they are, how they work, and why they've become the backbone of secure web authentication.

views
21 Oct 2025

CSS Specificity Explained in a Fun Way

A fun, beginner-friendly guide to understanding CSS specificity with practical examples and easy-to-remember rules.

views
22 Sept 2025

JavaScript Equality, Explained Like a Human

When to use ===, when == helps, and the gotchas to remember.

views
19 Sept 2025

The Secret Life of a Website Visit

A fun, story-style walkthrough of what really happens when you type a URL: DNS, TCP, TLS/SSL, HTTP, caching, rendering, CORS, cookies, CDNs, and more.

views
18 Sept 2025

Stop putting JWTs in localStorage: a fun, practical guide for frontend apps

A hands-on, example-packed guide to storing and refreshing JWTs safely in frontend apps: in-memory access tokens, HttpOnly refresh cookies, rotation, CORS/CSRF, and real code you can ship.

views
10 Sept 2025

Closures in JavaScript: From Pizza Shops to Caching Superpowers

A fun and practical guide to understanding closures in JavaScript, with real-world use cases like caching, rate limiting, event handling, and more.

views
9 Sept 2025

Imperative vs Declarative in JavaScript/TypeScript

A fun and practical guide to understanding when to use imperative vs declarative approaches in JS/TS, with lots of real-world examples.

views
6 Sept 2025

Promise Methods Playbook

A fun, practical guide to JavaScript promise methods — all, allSettled, race, any, resolve/reject, and finally — with examples you'll actually use.

views
4 Sept 2025

Implementing Web3 Wallet Authentication in Express.js

A comprehensive guide to implementing secure wallet-based authentication using Ethereum signatures in Express.js applications, with real-world use cases and security considerations

views
1 Sept 2025

Domain-Driven Design in Next.js

Learn how to implement Domain-Driven Design in a Next.js application using TypeScript.

views
27 Aug 2025

Stop Using GET Inside Server Actions

Learn why using GET inside Next.js Server Actions creates unnecessary round trips, how to fetch data efficiently with React Server Components, and when to use Server Actions the right way — with fun analogies and diagrams.

views
25 Aug 2025

Page 1 of 2