Replies: 1 comment
-
If you have long navigation stacks, there is a chance that changes to the last view in stack causes all of the previous views to redraw (this is where the performance might degrade). One developer on the project I am working on noticed this and used PFCs provided "trick". You can read more here. In a gist — isolating a state from the app domain into its own should help with needless view refreshes. |
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
-
I'm working on a project using TCA. There were no performance issues at first, but as the project size grew, a few issues became slow to respond.
Because I ran everything on the main thread, I thought the performance was bad, so I improved it by using subscribe(on:). Second, I used WithViewStore(store.stateless) where I did not use WithViewStore(store) and did not use state.
Do you have your own know-how to improve performance?
Beta Was this translation helpful? Give feedback.
All reactions