String variable doesn't rendered #2938
Answered
by
BATCOH
hitriyvalenok
asked this question in
Q&A
-
Hello! I have a variable I wanna be reactive. Example is simple: user types in an email's input, value reactively renders on the page. But it doesn't happens :( Variable's value changed, but doesn't rendered. Example on codesandbox. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
BATCOH
May 15, 2021
Replies: 1 comment 1 reply
-
In MobX v6 you should call makeObservable / makeAutoObservable, even with decorators. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hitriyvalenok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In MobX v6 you should call makeObservable / makeAutoObservable, even with decorators.
See also:
https://mobx.js.org/enabling-decorators.html
https://mobx.js.org/migrating-from-4-or-5.html