What does the SwiftUI `@State` keyword do?
The SwiftUI tutorial uses the @State keyword to indicate mutable UI state: @State var showFavoritesOnly = false It offers this summary: State is a value, or a set of values, that can change over time, and that affects a view’s behavior, content, or layout. You use a property with the @State attribute to add state to a view. What does the keyword mean, exactly? How does mutating a @State variable cause the view to be recomputed? How are other variables immutable within the body getter? The @State keyword is a @propertyWrapper , a feature just recently introduced in Swift 5.1. As explained in