I've been trying to sell a client on minimizing libraries in React for a while, and have been suggesting different vanilla state management architectures in place of Redux or MobX.

Interesting, then, to come across this article today:

You Donโ€™t Need Redux, MobX, RxJS, Cerebral:

I know what youโ€™re thinking:ย Redux alternatives are a dime a dozen.ย But this isnโ€™t yet another library. In fact,ย itโ€™s not a library at all.

Itโ€™s just a simple pattern:ย Meiosis.

Why aย Pattern?

Using a pattern instead of a library means that you have more freedom. You are not dependent on a libraryโ€™s features, bugfixes, and release dates. You are not worried about backward compatibility, deprecation, upgrade migration paths, or project abandonment. You are never waiting for a missing feature.

Yes, please. I need to read up on what they're proposing. It sounds like it might skip some of the advantages of having a singleton state object, like Redux and some MobX implementation do, but this is good momentum.

Labels: , ,