May 2, 2024
Should update this article. It's OLD.
StateObject fixes some of the issues. Should never pass an initialized view model as a parameter anyway. VMs should be private to the view.
And NavigationStack/,navigationDestination also changes the calculus.