I've had similar issue. When clicking NavigationLink there was an infinite init loop. It appears to be caused by initiating a class object labeled as @State instead of @StateObject.
@State var viewModel = PortalSelectionViewModel()
corrected to
@StateObject var viewModel = PortalSelectionViewModel()
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: