Adam Donahue
Jul 22, 2017 · 1 min read

I see the point, I just don’t see this as much easier than Redux. One of the nice things about Redux and approaches like it is that it avoids callback hell and localizes concerns. While you can certainly follow your pattern to centralize state, you’re losing some of the out-of-the-box benefits Redux provides for, let’s face it, a very small amount of additional effort. I think the biggest flaw in this approach is that you can no longer do a clean separation between container and presentational components. If a presentation component wants to use another that requires state orthogonal to itself, you have to pass in the state object. Even though it might not use it directly.

    Adam Donahue

    Written by

    Everyone is entitled to his own opinion, but not to his own facts. — DPM