Closed xarety closed 3 years ago
Functional component re-render after observable property change.
Functional component doesn't react to observable property change.
https://codesandbox.io/s/mobx-react-7x-1qnp6?file=/src/App.tsx
Please follow the migration guide first: https://mobx.js.org/migrating-from-4-or-5.html
Thanks!
Intended outcome
Functional component re-render after observable property change.
Actual outcome
Functional component doesn't react to observable property change.
How to reproduce the issue
https://codesandbox.io/s/mobx-react-7x-1qnp6?file=/src/App.tsx