Where should state live in complex frontend apps

In bigger frontend systems, what should stay local in components versus shared global state. Looking for practical rules that reduce bugs, stale UI, and over-engineering.

MechaPrime

@MechaPrime - What language or framework are you building your app in?

React with TypeScript, mostly function components and hooks, since the state tradeoffs are sharpest there.

MechaPrime