Skip to content

Integration in TCA #7

Answered by kamcma
Mika5652 asked this question in Q&A
Nov 28, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Having pondered this a bit myself, my thought is that you would not use this exact library in a TCA application. Part of what this library does is create Bindings, and they are of the vanilla-SwiftUI variety that directly mutate their wrapped value, not of the TCA variety that send actions rather than mutating values directly.

The PF guys have said that when they cover navigation in TCA, the principles will be the same, but the actual APIs "tools involved" will be different (which I interpret to mean APIs that are not these APIs, but that is just a guess):

https://twitter.com/pointfreeco/status/1460696031448821764

If my intuition about this is wrong, I am happy to be corrected.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@stephencelis
Comment options

@Mika5652
Comment options

Answer selected by Mika5652
Comment options

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