I’ve a problem with my parent-child view controller interplay in my SwiftUI app.
I’ve a major view that presents a Checklist of things.
The Information Supervisor is a @ObservableObject class that polls the gadgets each x seconds. Merchandise listing is @Printed.
I cross across the mannequin as an @EnvironmentObject.
The Fundamental View pushes into the navigation the second view. Nonetheless if the merchandise listing adjustments and the @ObservableObject mannequin pushes adjustments it redraws the Fundamental View which ends into the Navigation stack to be dismissed.
How can I pressure these adjustments solely when the views are seen ? Or that appears like a nasty resolution to this downside ?