Skip to content

Latest commit

 

History

History
92 lines (66 loc) · 2.3 KB

flux.md

File metadata and controls

92 lines (66 loc) · 2.3 KB

FLUX

undo: http://ameyakarve.com/jekyll/update/2014/02/06/Undo-React-Flux-Mori.html

flummox

  • truly isomorphic with examples
  • built-in promise support
  • works well with react-router

alt

  • really nice, clean syntax
  • limited isomorphic support

nuclear

  • immutable data
  • powerful Getter util, eliminates need for waitFor
  • not isomorphic

fluxy

  • pure flux with immutable data
  • immutable data via mori
  • depends on react

delorean

  • pure flux
  • no view dependency

reflux

  • popular
  • merges actions and dispatcher
  • bad: pete hunt thinks actions should be serializable and doesn't like reflux?

React

IDEAL

  • pure flux, or close to it
  • immutable data
  • no view dependency

...

delorian with immutable data ???

  • ancient oak or immutable.js ???

mecury ???

  • needs director for url routing

PERFORMANCE

NOTES

  • in flux, async API / REST should be handled in create actions, not stores if triggered by view
  • typescript is a pain to get working with webpack and other builders; grunt is the only decent support