Skip to main content
All Posts

React

React.js tips, patterns, and best practices

12 posts tagged with React

React Server Components: A Primer
React Server Components: A Primer

Server Components change how we think about React. Here's what you need to know.

Dec 2, 2025
6 min read
React Context: When to Use It
React Context: When to Use It

Context is powerful but often misused. Here's when it makes sense and when it doesn't.

Nov 5, 2025
5 min read
Testing React Components: A Practical Guide
Testing React Components: A Practical Guide

Testing doesn't have to be painful. Here's a practical approach that actually helps.

Oct 9, 2025
6 min read
React Error Boundaries in 2025
React Error Boundaries in 2025

Graceful error handling in React. What error boundaries are, how to use them, and patterns that work.

Sep 30, 2025
5 min read
When to Use useCallback and useMemo
When to Use useCallback and useMemo

These hooks are for optimization, not decoration. Here's when they actually help.

Sep 24, 2025
5 min read
React Forms: Controlled vs Uncontrolled
React Forms: Controlled vs Uncontrolled

When should you control form state? When should you let the DOM handle it? Let's break it down.

Aug 31, 2025
5 min read
Next.js App Router: The Mental Model
Next.js App Router: The Mental Model

App Router confused me at first. Here's the mental model that made it click.

Aug 7, 2025
6 min read
React Component Patterns I Use Every Day
React Component Patterns I Use Every Day

After years of React, these are the patterns that have stood the test of time. Simple, effective, and maintainable.

Jul 14, 2025
6 min read
React Hooks Deep Dive: useCallback and useMemo
React Hooks Deep Dive: useCallback and useMemo

These two hooks confuse a lot of people. Let's break down when you actually need them (and when you don't).

Jun 29, 2025
7 min read
Redux in 2025: Is It Still Worth Learning?
Redux in 2025: Is It Still Worth Learning?

With so many state management options now, is Redux still relevant? Let's talk about when it makes sense and when it doesn't.

Jun 5, 2025
7 min read