4 ms·
You might be interested in skipping Redux and just using a state pattern like this http://meiosis.js.org http://meiosis.js.org
by fouc 8y ago
You might be interested in skipping Redux and just using a state pattern like this http://meiosis.js.org http://meiosis.js.org
- jitlerr 8y agoThat looks awfully complicated.
- fouc 8y agoSorry is that sarcasm? 3 lines of code for a state pattern. Redux is the one that's awfully complicated.
- jitlerr 8y agoSorry, no, it's my honest opinion. I am the kind who is more interested in ideas and patterns than in libraries or frameworks, so I had a look, but this looks like the typical work of a design-disabled programmer. I am not saying that is garbage, but I don't like neither the execution or API design. Redux can be complicated, but Redux is way simpler and easier to reason about than the Meiosis patterns.
- jitlerr 8y ago> Think Redux, MobX, Cerebral, React Context, etc. but without having library imports everywhere and being tied to a framework API. Instead, just plain functions and objects. Undelivered promise.