Skip to content

React State Architecture

Welcome to a comprehensive guide on React state architecture patterns. Understand how data flows in React apps — from useState to XState, Redux to Signals — learn the patterns, trade-offs, and when to use them.

🎯

What is state, how React renders, and the vanilla JS patterns that power our tools.

🔀

Unidirectional, bidirectional, atomic, signals, event-driven, FSM, and more.

📊

See data flow in action with live diagrams you can click and explore.

⚖️

When to use, when to avoid, and how to combine patterns in real apps.

patterns.dev covers component design patterns (HOC, render props, compound components) and rendering strategies (SSR, streaming, RSC). This site focuses on the other half — state architecture: how data flows, where state lives, and how components exchange data.

Together, they cover the full picture of building complex React apps.