Skip to content
Discussion options

You must be logged in to vote

@rzulkoski I think we need a little more context and code to debug the issue, but glad you found a workaround!

I'm in the process of migrating these reducers to the ReducerProtocol and have encountered a large degradation in performance

I'm not quite sure I understand how migrating to the ReducerProtocol would introduce performance degradation at the view layer. Did you make changes to the view as well?

TCA provides SwitchStore precisely to work around the problem of enum state performance in SwiftUI by limiting updates based on the enum tag:

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@rzulkoski
Comment options

@rzulkoski
Comment options

@fabstu
Comment options

@rzulkoski
Comment options

@rzulkoski
Comment options

Answer selected by rzulkoski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants