State not update viewSate in Reducer Protocol #1668
Unanswered
knight6700
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @knight6700, can you please provide more context of what exactly is not working. There isn't much to go off from what you provided. Also, one thing that stands out in your code is this: var mapState: MapPlace.State{
get {
.init(place: profile)
}
set {
}
} This will make it so that mutations to set {
self.profile = newValue.place
}
`` |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Beta Was this translation helpful? Give feedback.
All reactions