Why MobX encourage mutable objects in their docs??
But, I see a tutorial about MobX: http://orlandohamsho.com/javascript/mobx-react-tutorial-building-first-application/
And, he used immutable approach in his tutorial instead of mutable one (see below).
@action setUsers = (users) => { this.users = [...users];
(instead of pushing it)
I also think that immutablity approach is better (so that React.PureComponent can work which means optimizing performance)
Why MobX encourage to mutate object? What approach should I use?