The demo shows how to use the new Observation in SwiftUI for data flow. It compares the performance of exisitng data flow with @State, @StateObject and Observable with the new Observation feature.
state-management view model mvvm data-flow observation redraw swiftui property-wrappers swiftui-performance view-redraws view-updates
-
Updated
Jul 10, 2023