Skip to content
Discussion options

You must be logged in to vote

@thebarndog This seems like the general way to go about it, though it doesn't need to be driven by effects necessarily. As long as an action can mutate the state that determines if the link's binding is active or not, you will programmatically drive navigation.

In vanilla SwiftUI, this is an observable object mutating published state associated with that binding.

And in TCA, this is a reducer mutating state associated with the binding 😄

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thebarndog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants