
dislike the idea of using computed properties marked as @ViewBuilder
to store subviews. This inevitably leads to a more bloated view, as all the @State
and @Binding
properties that the computed property requires will need to be contained in the parent view.
Apple designed SwiftUI around structures for a reason. A struc…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.