I am currently facing a conundrum with MobX's shouldComponentUpdate not working properly in a HOC hierarchy. I'm using the @injectIntl
decorator from react-intl
and the @observer
decorator from react-mobx
.
This example is a little contrived, but hopefully it gets the point across:
class TodoList extends Component {
@observable
todos = [];
render() {