SwiftUI re-runs body whenever observed state changes, then diffs the new view tree against the old one and updates only what differs. Performance problems come from making that diff do too much work: unstable , over-broad , and expensive computations. Fix it by controlling identity, scoping state, and keeping cheap.
