The Evolution of Flux Frameworks
medium.com
medium.com
Anyway I'm excited for what the future holds for flux and excited for relay.
Agreed wholeheartedly. One thing that MVC did was answer questions that developers had about architecture, at a "this is how you should do it" level. Now, granted, it answered them with a tonne of tradeoffs and didn't really answer them well at all, in my opinion, but that's something that I've seen a lot of Flux beginners somewhat struggle with. What you're doing with Alt is helping bridge that gap, though.
My offer still stands regarding helping out with some slightly more comprehensive example documentation/tutorials, by the way :) And thanks for you help in #Reactiflux!
You, and anyone else, is free to also contribute to alt itself, check out the issues tagged with "help wanted" https://github.com/goatslacker/alt/issues?q=is%3Aopen+is%3Ai...
Patches are super welcome :)
So I built this minimal flux library on top of RxJS and until now it did everything I needed.
Maybe it's useful for someone else too.
I keep wanting to dip my toes in and I get the gist of why you'd use React (less so Flux), but there's so many frameworks to choose from that I get nervous about picking the wrong horse and find myself waiting until the dust settles.
Thankfully, the footprint of each framework is relatively small. I'd try to pick the one that seems to be the least encroaching (e.g. not using tons of custom components, something fairly agnostic about underlying data structure/data fetching methods). That way, if the tide suddenly changes, you're not buried up to your toes in messy, dying code.
You can also get by with React on its own! We've got a few areas in some of our Backbone apps where we've just decided to use raw XHR requests to fetch data (and nothing wrapping around the objects themselves).
So the TLDR is that I don't have a good panacea of a Flux library to recommend, but that shouldn't stop you from investigating React as a view mechanism in your applications.
(There's also know obligation to use them, the joy of OSS!)
You use a single, immutable data structure to store your application state, and components use functional lenses to look into the part of the state they're dependent on and listen for changes.
In doing so, you get a free application history stack and deltas (for undo/redo, offline/online sync and some powerful debugging capabilities), extremely efficient shouldComponentUpdate implementations for all components, and opportunities for many more advanced optimizations like batching updates for rendering on requestAnimationFrame.
Check out Om if you'd like to take a look at the original ClojureScript implementation, or Morearty.js if you're interested in a pure JS alternative.