Try mobx-state-tree. It's basically MobX with Redux-like tree structure written by the guy who did MobX. It combines best of both worlds. We use it at work and it's just such pleasure to work with, highly recommend
It is indeen wonderfully easy to work with. However, it has some performance penalties.
I found typescript in conjunction with pure MobX just as efficient.
Especially complex state de-/serialization is a breeze with serializr.
Yeah exactly, for my use case (mobile device, frequent state updates) I couldn’t justify the overhead of state-tree after doing some profiling. Shame as it looks great and would have been a good fit ofberwise.
Thanks for the pointer to serializr - I hadn’t seen that before!
Especially complex state de-/serialization is a breeze with serializr.