JavaScript Type ConversionsType conversion (also known as type coercion) is one of JavaScript's most powerful yet often misunderstood features. Whether you're converting strings to numbers, booleans to integers, or arrays to strings, understanding these conversions will make y...Feb 8, 2026·7 min read·30
Build a Scalable Full-Stack Next.js App with Drizzle, Neon, Redis, and VercelLast week, I attended the live workshop Build a Full-Stack Next.js App v4 by Brian Holt on Frontend Masters. It was an incredible deep dive into building production-grade applications from scratch to deployment. Here is the note I took on crafting a ...Nov 3, 2025·5 min read·62
Setting Up a Modern Monorepo with NXIntroduction Managing multiple related projects can quickly become overwhelming when scattered across different repositories. NX offers a powerful solution for organizing React applications, shared libraries, and backend services in a single, well-st...Oct 22, 2025·15 min read·3
React MemorizationIn React, when a parent component is updated, all of its child components will be rerendered even if the props are the same. It’s generally fine for simple components, but for those that perform expensive operations, there’s a performance gain in ens...Oct 15, 2025·2 min read·8
State Management Comparison: React Context vs MobX vs ReduxReact Context Overview React Context is a built-in API for lightweight global state sharing. It’s ideal for passing data like themes, authentication, and language preferences down the component tree without manual prop drilling. Best Use Cases Stati...Oct 15, 2025·6 min read·12
How to Keep Track of Counts in an ArrayHere is the instruction for the coding exercise: Create a function that takes in an array of numbers and returns an object in the specified format based on their counts. Input array: [1, 2, 3, 3, 4, 3, 2, 4, 4, 5, 4] Expected return: { unique: [1...Oct 11, 2025·2 min read·7
How to Remove Duplicates from a StringYou are given this coding instruction: Create a function to remove duplicates and empty spaces in a given string. Step one is always to consider all possible conditions and ask questions to clarify. For example: Should the check be case sensitive? ...Oct 10, 2025·2 min read·2