Why did self change?

When Swiftui Self._printChanges() prints StructName: @self changed. How do I determine why self changed?

Answered by DTS Engineer in 793750022

@JbXyz Please review Demystify SwiftUI performance WWDC session. It covers the topic extensively.

Impossible to say anything with so limited information.

Please give details and the complete code you run.

And explain where you observe the change.

what i meant to ask is what are the methods of determining what caused @self to change, or what are the types of events that can cause self to change?

@JbXyz Please review Demystify SwiftUI performance WWDC session. It covers the topic extensively.

Why did self change?
 
 
Q