State change does not trigger View update #390
-
|
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. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Can you post the corresponding views for |
Beta Was this translation helpful? Give feedback.
-
|
I tried to reproduce inside a new project which led me to fixing the problem. The issue was that I used |
Beta Was this translation helpful? Give feedback.
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 😑