I’m not aware of a built-in way to detect that, though maybe someone here knows a solution I haven’t seen. Personally, I’d avoid trying to read parent state and instead remove the expensive view from the hierarchy so its tasks cancel naturally. If layout space needs to be preserved, I’d swap in a lightweight placeholder view.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: