radiodan/magic-button — pull request #3 by andrewn (2014-10-28 13:24:21+00:00)
Title: Refactor web app

This is loosely based on the [Facebook Flux](http://facebook.github.io/flux/docs/overview.html) model.

- introduction of `stores` which take a data payload and fire events if they've changed state
- a thin layer that listens to store events and pushes updates to Ractive
- using the Flux Dispatcher to mediate between data entering the system (from server or view) and the stores