BlogEngineering
A simple mental model for React state
Jason Su
October 14, 2026 · 8 min read · 1 views
Most state bugs come from putting state in the wrong place.
Local state
Keep it in the component that uses it.
Shared state
Lift it to the nearest common parent.
Server state
Treat it as a cache, not as state you own.
Last edited Nov 2, 2026
Comments