> I guess this is like a better version of ...
Make sure to look at PureScript as well. It is a much less "opinionated" cousin of Elm. By opinionated I mean that Elm pulls HTML and CSS into the code, and has functional reactive programming built in; in PureScript these are libraries.
I am currently into Elm and intend to transition to Haskell/GHCJS at some point. I've also looked into PureScript but don't really see how it fits between Elm and GHCJS.
Someone should make an opinionated, batteries-included JS/TS framework like Elm, based on TS, React, Flux.
The JavaScript world doesn't like that. That's why no one has made a carbon copy of Rails.
Even React, Flux, Router and etc comes in several parts.
I know railties are modular but at least they come from the same project and repo and update together.
Yeah, the JS world currently is very pro-modularization, but I already saw some discussions on Twitter from the React/Flux people how that creates too big barrier of entry for the newcomers. One of the things that draw people to Angular is that it has almost everything that you need included - it's easier to say to someone "just use Angular", than "try React, with Redux, and Router, and Webpack - it will take some time to configure it, but it's worth it".
Well, it has it's benefits.
I don't like Redux and I like Reflux so it allows me to do that.
Then again Rails does let you switch out compatible parts. By compatible I mean if it adheres to "Railties", e.g. using ActiveModel for replacing Pgsql with MongoDB.
Also their success/fail tasks for HTTP calls reminds me of flux actions being dispatched.
Dispatch action for an http class and then dispatch another action for success or failure. Or did I miss understand?