Replies: 1 comment
-
Nevermind. I just found out that the performance issues also occurred before changing the code to @ObservableState with TCA version 1.6.0. |
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.
-
Hello 👋
I've finished updating our codebase to
@ObservableState
. During testing, I noticed performance issues that weren't there in the old version that was usingWithViewStore
.After adding _printChanges to SwiftUI views, I could scope down the issue:
.none
(No state changes)
from TCA_printChanges
in my views logs@dependencies changed.
for some views.The view that is getting rerendered simply passes a scoped store forward to a child:
The child store receives the action mentioned above.
Is there anything else that I can try to scope down the issue?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions