Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It was once recommended to use
componentWillReact()
to trigger layout animations in response to changes in observable values, like so:However,
componentWillReact()
has been removed in mobx-react@6.What is the recommended replacement? My observable class should know nothing about it's observer, so I'm looking for a similar event-driven solution.
(Full disclosure: I asked this question on Stack Overflow about 6 months ago but have received no responses)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions