Short version: Cloudflare shipped a dashboard bug that rebuilt an object every render, stuck that object in a useEffect dependency, and the effect re-fired like crazy during a tenant-service deployment + retries. The Tenant Service got overwhelmed, a...
This is the short, usable handbook you return to when you need to remember how to model things, avoid gotchas, and ship safely. No theory for the sake of it. Examples are minimal, opinionated, and geared for production.
Types help you encode intent ...
I remember the day I started using Next.js like it was yesterday. It was version 8. And honestly? It was love at first sight. I bootstraped our new project in Nextjs despite my CTOs hesitation and made my teammates who never wrote a single line of co...
In Part 1https://coderlegion.com/4231/stop-fetching-data-in-useeffect-youre-not-writing-jquery-anymore, we talked about why fetching data directly inside useEffect is a flawed approach — tightly coupling component lifecycle to data-fetching logic, le...
Ah, the good old useEffect.
Every beginner's favourite foot-gunhttps://react.dev/learn/you-might-not-need-an-effect.
Every senior's silent scream.
Every production codebase’s quiet shame.
You’ve seen it.
You’ve written it.
Hell, it might be on your ...