If you have different views with different numbers of bound variables this solution is easier to work with than the StatefulPreviewWarpper approach below -- that's still a great solution but it's designed to support just one parameter.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: