Posts
Thoughts, tutorials, and insights from my journey in software development.
Showing 1-12 of 15 posts
TypeScript Utility Types: From Partial to Awaited
Master TypeScript utility types with practical examples. Learn Partial, Required, Pick, Omit, Record, Awaited, and more — with real-world use cases that make your code type-safe and maintainable.
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.
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.
CSS Specificity Explained in a Fun Way
A fun, beginner-friendly guide to understanding CSS specificity with practical examples and easy-to-remember rules.
JavaScript Equality, Explained Like a Human
When to use ===, when == helps, and the gotchas to remember.
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.
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.
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.
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.
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.
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
Domain-Driven Design in Next.js
Learn how to implement Domain-Driven Design in a Next.js application using TypeScript.
Page 1 of 2