SwiftUI best practices for behavior, structure, and performance. Use when designing or reviewing SwiftUI views, state management, layout decisions, animations, or performance tuning; when unsure how to model state vs dependencies; when avoiding conditional view pitfalls; or when optimizing diffing, ForEach identity, and rendering costs.
2026-01-07