Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Replace reflux with alt #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

goatslacker
Copy link

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.

@moklick
Copy link
Contributor

moklick commented Feb 28, 2015

Thanks for the PR. We will check that ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants