Fundamentals · One source of truth
State management-style app
Illustrative system design for a one source of truth app like State management: 3 topics to read, from requirements to deep dives.
Illustrative design, not State management’s actual implementation. Arrowbox is not affiliated with State management’s owner. Disclaimer
Start with Kinds of state Sign in to start readingUpdated 2 Oct 2026
Core
Most state bugs come from keeping the same fact in two places; sort each piece of state by who owns it and how long it lives, and it has an obvious home.
Store each entity once, by id, and let views look it up; then an update to one product shows correctly on the card, the product page and the cart in the same render.
State that must survive a reload, a shared link or a second tab has to leave memory: the URL for what a link should reproduce, storage for what the device should remember, and a channel to keep tabs agreeing.