Dear Frameworks Engineer, what would you suggest if something like below is part of a separate module, making it impossible to prevent external consumers from embedding it inside a navigation link?
RootView()
.navigationDestination(for: NavigationLinkValueFirstView.self) { value in
let _ = logger.debug("FirstView navigationDestination")
SecondView(report: $report)
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: