My PostgreSQL query went from 57ms to 1.4ms on a 1 million + row table. I didn't change the query. Here's what I did.I was debugging a slow query on a users table with 1 million rows. EXPLAIN ANALYZE showed 57ms. I ran one SQL statement — didn't touch the query, didn't change the schema logic — and it dropped to 1.4Jun 13, 2026·10 min read
Understanding Value vs. Reference in JavaScript: Differences Between Primitives and ObjectsJan 29, 2025·5 min read
Shallow vs. Deep Comparison in JavaScript: Unlocking React’s Performance SecretsJan 28, 2025·5 min read
Exploring Object Creation in JavaScript: A Complete GuideIn JavaScript, creating objects is as fundamental as breathing in the coding world. But did you know there are multiple ways to do it? Each method has its quirks and shines in different scenarios. LetJan 19, 2025·6 min read
The Object Nature of JavaScript: Discover Why Almost Everything Is an ObjectIf you’ve ever dived into JavaScript, you might have come across this quirky idea: everything, except primitives, is an object. And if you’re anything like me, your first reaction might have been, “WaJan 17, 2025·5 min read
Beginner's Guide to React useRef: Understand with Clear, Practical ExamplesWhen working on a React app, have you ever felt like you needed a way to keep track of something without React jumping in and saying, “Hey, let me re-render that for you”? That’s where useRef comes toJan 13, 2025·5 min read
Learn TypeScript: The Ultimate Guide for JavaScript BeginnersAn Introduction to TypeScript TypeScript is a superset of JavaScript developed by Microsoft that adds the power of static typing to JavaScript. This means you can define variable types (like strings, Jan 10, 2025·8 min read
Enhance React Performance: Avoid Unnecessary Re-renders Using React.memo, useMemo, and useCallbackReact is a powerful library for building dynamic user interfaces, but sometimes its default behavior can lead to inefficiencies. One such behavior is the re-rendering of child components whenever a paJan 9, 2025·7 min read