nested state #2507
-
I am looking out for help on updating nested state without flattening them out every time. It is so annoying if there are more than two levels of nesting. Thanks. Here's the state object:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
MobX doesn't require any flattening, and updating nested state should be as simple as Beyond that, if you post questions please include some example code so that others have a vague idea what you are talking about. We can't see your screen so your question is extremely vague as it stands and not likely to receive any useful answer :) |
Beta Was this translation helpful? Give feedback.
MobX doesn't require any flattening, and updating nested state should be as simple as
a.b.c = d
Beyond that, if you post questions please include some example code so that others have a vague idea what you are talking about. We can't see your screen so your question is extremely vague as it stands and not likely to receive any useful answer :)