react-starterkit
react-starterkit copied to clipboard
Replace reflux with alt
A bit crazy of a pull request but this does a few things:
- Use ES6 syntax more broadly. Why?
There's ES6 syntax already in use, lets go all out! Things have changed like export in favor of commonjs exports, and arrow functions instead of function expressions.
- Replace reflux with alt. Why?
It's built with ES6 in mind, is truly flux, there aren't very many changes. Plus you get some interesting features+mixins to go along with it. The view code looks almost the same, in fact I believe it's better since now you're defining the initial state in the store rather than in the view component.
Thanks for the PR. We will check that ;)