ObservableStore of a primitive state #3441
Unanswered
maxkazakov
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
-
Hey! I'm migrating from
ViewStore
toObservableState
. One of my views used to work withViewStore<Int, Action>
. But apparently, replacing it withStore<Int, Action>
is impossible because I cannot makeInt
beObservableState
. I'm here to confirm that I'm not missing anything.I could in theory use a Store with a State type that holds that
Int
instead, but theInt
I have is enum associated value which makes things more complicated. Here's the code that I'm trying to migrate:Beta Was this translation helpful? Give feedback.
All reactions