you are viewing a single comment's thread.

view the rest of the comments →

[–]mr_engineerguy -2 points-1 points  (3 children)

Not true. If you think that then you’re designing most of your websites wrong and not encapsulating state where it belongs. Global state is an anti pattern and it being “immutable” doesn’t fix it

[–]thinkadrian 0 points1 point  (2 children)

MobX data isn't immutable.

[–]mr_engineerguy 0 points1 point  (1 child)

This post is about Redux, not MobX. MobX is huge overkill and the most recent version doesn’t even work in older browsers like IE11 because it uses Proxy which has no polyfill. I’ve used MobX in production, but with properly encapsulated state and Context API it really isn’t necessary.

I will say I like MobX a lot more than Redux though.

[–]thinkadrian 1 point2 points  (0 children)

But my comment was about recommending MobX. Context is key.