4 ms·
> well, I'll admit that existance of MobX doesn't help there... 'Doesn't' or 'does'? We've found MobX to really help.
by gedy 7y ago
> well, I'll admit that existance of MobX doesn't help there...
'Doesn't' or 'does'? We've found MobX to really help.
- 52-6F-62 7y agoSo have I. MobX + TypeScript has been one of the better experiences I’ve had.
- amenod 7y agoDoesn't, imho of course. MobX makes creating and using global variables way too easy. One of the more nightmarish legacy projects included hunting down the culprit that sometimes changed some variable in mobx store. Abysmall tooling (compared to Redux) doesn't help either. Currently my go-to store is Redux Toolkit [0]. Explicit store management, but much less verbose than regular Redux. Also, initial state, actions and reducers are all defined in one place (slice). [0] https://redux-toolkit.js.org/ https://redux-toolkit.js.org/
- gedy 7y agoThanks, enabling strict mode (requires observable change through an @action only) helps imo.