|
|
|
|
|
by andy_ppp
3915 days ago
|
|
I have used both Reflux and Redux. Um I guess they both have their place. Reflux is simpler to understand and forgoes switch statements and has various ways to connect stores up, even allowing one store to trigger stuff on another. It's more easy to make a mess I think, largely dues to the multiple stores and how they interact with eachother. Redux is more cleanly uni-drectional, has a larger community, amazing debugger, amazing hot reloading support, and a lovely concept of middlewares that can extend actions as they pass through your system. Most importantly I've found a single store/source of truth makes everything cleaner. It's also simpler code underlying it than Reflux and more of a nice design pattern. I think Redux is clearer what is going on in my final programs and will tend to use this going forward. |
|