The Code I Couldn't Leave Alone
A bug fix took twenty minutes. Walking away from it took me two more hours. On the difference between improving a product and improving how I felt about it.
shubhra.dev
Loading...
10 articles in this category
A bug fix took twenty minutes. Walking away from it took me two more hours. On the difference between improving a product and improving how I felt about it.
I throttled my app to 3G and found two correctness bugs my tests missed: out-of-order search responses and an autosave retry that duplicated an in-flight save.
Next.js 16.3 is more than a performance release. See what upgrades automatically, how Instant Navigations and Partial Prefetching work, and what changed for AI agents.
React 19 Actions don't replace forms. See what useActionState simplifies, what complexity remains, and how Actions compare with onSubmit in real forms.
Auth.js handed off active development to Better Auth. Next.js 16 renamed middleware.ts to proxy.ts. Most auth tutorials are now outdated. Here is an honest breakdown of all four paths — Auth.js v5, Clerk, Better Auth, and custom auth — with verified pricing, real CVE details, and a clear decision framework for what to actually use in 2026.
I reviewed 10 real Next.js applications and found the same 5 performance mistakes again and again. Here's what most developers get wrong and how to fix them fast.
A real Next.js performance optimization case study that cut load time by 72%. Discover the exact techniques, tools, and mindset shifts that most developers overlook, including caching strategies, bundle analysis, image optimization, and the use cache directive.
Every developer remembers their first JavaScript errors. Walk through 5 real coding mistakes including SyntaxError, TypeError, undefined props in React, and logic errors, learn exactly how to fix them, and discover the debugging mindset that turns confusion into confidence.
Discover how gardening for creativity transforms your coding mindset. Explore the real science behind nature and creative problem-solving, and learn how a winter garden teaches patience, observation, and design thinking that no textbook ever could.