I gave Tailwind typed props. Then it ate React Hook Form. (opens in new tab)
I spent years thinking my React forms were a CSS problem. They weren't. They were a wiring problem — and I'd been paying for it on every single field, in every single project. This is the story of how questioning one small thing — why is styling hidden inside strings? — led me somewhere I didn't expect: to components that already know what form they live in, who's allowed to use them, and when they should exist at all. It started with className Like most React developers, I've written this co...
Read the original article