Technical essays on AI infrastructure, system design, and the engineering decisions that matter in production.
You fetch data inside a useEffect and it works in every test you run. Then someone clicks fast and sees the wrong data. This is the race condition sitting in almost every client side fetch, and the reason the cleanup function is not optional.
React Portals let you render components outside the DOM hierarchy while preserving React's event system. You're probably already using them through Radix and Shadcn without realizing it.
After a long blogging break, I'm back with a blunt take: I've fully embraced AI and vibe coding, and it has fundamentally changed how I build software.
~ ~ ~ ~