Greetings fellow Swifter! Here's my advice for you: be like lazy variables and lazy views in the Swift programming language: do the right thing, at the right time, only if it's truly needed, in the name of efficiency.
Sometimes it is necessary to update the views when a new value is assigned to a non-observable property or when the system cannot recognize a change in the model. In such cases, we can assign a new identity to the view. For this purpose, SwiftUI provides the .id() modifier.
Contact MeBe a better person starting from today. Donate, incentive laziness. Thank you!