4 ms·
I'm not deeply familiar with Mobx, but there's a few Redux implementations for Python. See pydux[0] and aioredux[1]. Not the same thing, of course, since Mobx
by imiric 9y ago
I'm not deeply familiar with Mobx, but there's a few Redux implementations for Python. See pydux[0] and aioredux[1].
Not the same thing, of course, since Mobx is much more sophisticated than Redux, but in my team we're currently experimenting with aioredux for state management of client data, which drives the React+Redux frontend. It's working surprisingly well so far, although the biggest hurdle is team familiarity with functional aspects of Redux, and general structuring and responsibility of reducers.
The library is no longer maintained, but considering the simplicity of the implementation and of Redux itself, we felt it wasn't a show stopper since we could always take over maintenance ourselves.
I'd also be interested to know of Mobx Python implementations.
[0]: https://github.com/usrlocalben/pydux https://github.com/usrlocalben/pydux
[1]: https://github.com/ariddell/aioredux https://github.com/ariddell/aioredux
- vog 9y agoThanks for the pointer, although that's not what I'm looking for. The fundamental difference between reactive state management (Mobx) and the Redux approach is that Mobx has some automatisms that are vital to what I'm looking for: - automatic recognition of actual value dependencies (i.e. minimal update chains) - automatic determination of the order of updates (so you don't have to think about and design your reducers along their dependencies ... because this is an annoying task which can and hence should be automated ... it is prone to inefficiencies, and sometimes errors, when done by hand.)