SwiftUI Opinion: ViewModel doesn't belong in Previews
SwiftUI Previews are key to making SwiftUI development fast and easy. However, if your views require a ViewModel, you are impeding your own development speed and re-usability of the view.
Let’s imagine that you create a view and it’s view model. Ever...
blog.encoded.life3 min read