Modifying state during view update #1038
Unanswered
v-oleksandr
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi all!
I'm quite new to TCA and SwiftUI.
When I'm trying to show
ProgressView
in my project, Xcode shows strange warning:Modifying state during view update, this will cause undefined behavior.
I'm also noticed this is happens in the example project (TicTacToe). Just after login.
When
loginButtonTapped
action fires:state.isLoginRequestInFlight = true
inloginReducer
.Is this some known issue? Or what exactly causing this? Obviously I don't understand why the view updating during this action
Beta Was this translation helpful? Give feedback.
All reactions