Found an interesting blog post about this.
https://www.donnywals.com/xcode-14-publishing-changes-from-within-view-updates-is-not-allowed-this-will-cause-undefined-behavior/
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: