State change does not trigger View update #390
Answered
by
ferologics
ferologics
asked this question in
Q&A
|
I have a list with struct State {
var messages: [MessageState]
}
struct MessageState {
var state: State
}
extension MessageState {
struct State {
case `default`, loading, error
}
}When I update my What can I do to work around this? Btw, it looks like this issue on forums is related. |
Answered by
ferologics
Feb 23, 2021
Replies: 2 comments 2 replies
|
Can you post the corresponding views for |
0 replies
|
I tried to reproduce inside a new project which led me to fixing the problem. The issue was that I used |
2 replies
Answer selected by
ferologics
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to reproduce inside a new project which led me to fixing the problem. The issue was that I used
.equatable()on my ownWithViewStoreflavor calledWithEquatableViewStore. This prevented my view from updating 😑