Replies: 2 comments 2 replies
-
I asked a similar question a little while back and the answer is that you can use the TCA |
Beta Was this translation helpful? Give feedback.
2 replies
-
Transferring this to a discussion since it’s not an issue with the library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for some best practices on how to handle user object that is mutable / updatable (such as profile changes, etc).
I have an app that has multiple tabs and other nested structure and I am curious how to handle pushing update of a user object throughout the app?
This is what I have so far
What is a good way to have AppState push the user object to all nested views? In vanilla SwiftUI this would be a perfect case for an environment object. How can I replicate global state like environment object in TCA ?
Beta Was this translation helpful? Give feedback.
All reactions