This week
- Introduction Buttons that scale on hover with CSS feel dead. No overshoot. No bounce. No life. Spring physics fix this. The button pops past its target scale and settles back. Feels like it has weight...
- The Problem When using TanStack Table with TanStack Virtual and many columns that extend beyond the viewport, scrolling horizontally causes the header cells to appear transparent. Body row content ble...
Two weeks ago
- Introduction Every AI chat app streams markdown to you token by token. ChatGPT, Claude, Gemini, they all do it. Making that render smoothly is harder than it looks. This post breaks down the problem f...
- Introduction Most React developers have heard of startTransition. Few actually understand what it does. Even fewer know when they need it. Let me explain it from the ground up. How React renders with...
- Introduction Every React tutorial tells you the same thing. "Never use array index as key." It is one of those rules people repeat without thinking about why it exists. And because they never think ab...
About a month ago
- Introduction You have a combobox using cmdk (shadcn Command component) inside a Radix Dialog. The list has more items than fit. You expect it to scroll. It does not scroll. You are not alone. This iss...
- Introduction Sonner is the best toast library for React. But the docs barely cover advanced styling. This is everything I learned building a custom dark toast system with colored rails, action buttons...
about 1 month ago
- Introduction If you ever tried to put an editable input next to a Radix UI context menu. You probably hit this wall. The input loses focus. It refuses to stay focused. You click on it. Nothing happens...
- Introduction You added overflow: hidden and the collapse still looks wrong. The problem is not the motion component. It is the gap on your parent flex container. What is happening AnimatePresence keep...
- The Problem With a Fixed Textarea A normal has a fixed height. When content overflows that height, the browser adds a vertical scrollbar. This is fine for long-form editing like a notes app...
- After an absolutely devastating January, my February was chilled and productive, and I really hope to keep that trend. Today is the State of the Browsers day, and I’m well pumped to be there with my best friends, surrounded by the best folks from the web community. I’m still...
about 2 months ago
- I've added some pretty cool AI-powered features to kentcdodds.com and I want to tell you all about it....
- Over the years, I’ve used different icon sets on my blog. Right now I use Heroicons. The recommended way to use them is to copy/paste the source from the website directly into your HTML. It’s a pretty straightforward process: Go to the website Search for the icon you want Hover...
2 months ago
- This is one of those small things that drives me nuts. Why? I don’t know. I think it has something to do with the fact that I have a computer that is faster than any computer I’ve ever used in my entire life — and yet, clicking on buttons results in slight but perceptible...
- Six years ago, while I should have been studying for finals, I patched and compiled X11 (and all its dependencies) to run on a jailbroken iPad. I wanted to run real applications on my tablet. I've spent the last few months weeks days hours building vibecoding something that...
4 months ago
- My new hobby project....
- Hell froze over. Anthropic fixed Claude Code's signature flicker in their latest update (2.0.72)...
- Looking back over my 2025 and looking forward to my 2026...
5 months ago
- I redesigned maxleiter.com this week. I've wanted to make it more personal and opinionated for a long time, but felt I lacked the expertise to do it justice. With v0 and Claude Code (and some manual cleanup) it only took a few hours. If you haven't played with the homepage yet,...
- I'm looking for a new job....
- One personal project to add callout component to Obsidian that quickly spiraled out of control. No regrets though....
- After a decade of React dominance, it’s time to remember that frameworks run inside the web, not the other way around....
- Howdy y’all, I hope your October was not as hectic as mine. Mine was ridiculous! It’s been a super hardworking year overall, and I’m looking forward to a trip with my family at the end of the year. We are going to spend December in Sri Lanka, so if you have any tips and...
6 months ago
- The joys of vibecoding....
Rows per page