Searching for an Isomorphic Reactiflux Stack

June 17, 2015
react isomorphic flux redux jasmine nodejs

Now that Relay is out in preview, it will probably replace Flux entirely.

Why React?

A few months ago, the release of React Native by Facebook convinced me to make the leap to React.

I spent a while working on a React Native app and quickly learned that I needed to bring in Flux. After watching a few videos and reading a few blogs, I added my own implementation of flux to my react native app.

The javascript nature, minimalism, isomorphic potential, and cross platform possibilities were almost too good to be true. I fell in love with the stack and set out to refine the set of tools I’m using around my personal priorities.

Goals

What I’ve tried so far…

Why not go with vanilla Flux?

Using only the Flux tools given by Facebook seems like a no-brainer, but besides being extraneously verbose, you have to maintain, grow, and enforce the framework yourself.

Pros

Cons

Fluxible

A full featured flux framework from Yahoo.

Pros

Cons

Reflux

A minimalistic rethinking of Flux for the functional programming world.

Pros

Cons

Flummox

Minimal isomorphic Flux.

Cons

Pros

Redux

Advertised as “Atomic Flux with hot reloading,” A minimalistic, isomorphic take on Flux that is bare bones but extensible.

Current Winner

In spite of its small following and young API, the minimalistic approach only gets as far from the vanilla implementation of Flux as you want it to. This would make it relatively easy to pivot to another Flux implementation of maintain independantly.

Pros

Cons

Update Log

  • 2015-06-17: Published
  • 2015-08-14: Added note about Relay

Imaginary Lines

April 1, 2016
react graphql relay rails emberjs rest engineering

React Native on Heroku

July 26, 2015
react-native react heroku paas

Will Relay replace Flux?

July 25, 2015
facebook react relay flux
comments powered by Disqus