Blog

Animations in React with Motion (Framer Motion)
CSS transitions get you far, until you need to animate something leaving the page. React removes the element from the DOM immediately, so there's not
Continue Reading
Building a Dark Mode Toggle in React
A dark mode toggle looks like a five-minute feature: a boolean in state and a class on the body. Then the bugs show up. The page flashes white before
Continue Reading
Styled Components vs Emotion: A Practical Comparison
If you work on a React app that's more than a few years old, there's a good chance it uses styled-components or Emotion. They were the two dominant C
Continue Reading
Using Tailwind CSS Effectively in React Projects
Tailwind is easy to start with and easy to make a mess with. The first few components feel great. Six months later you have 40-class strings copied a
Continue Reading
Styling React Components: CSS Modules vs Tailwind vs CSS-in-JS
React doesn't tell you how to style components, so every new project starts with the same argument. One developer wants plain CSS files, another want
Continue Reading
forwardRef and useImperativeHandle Explained
You build a nice TextField component that wraps an input with a label and error message. Then someone on your team needs to focus it when a form
Continue Reading