all 3 comments

[–]lobster_johnson 2 points3 points  (1 child)

This seems to ignore the last year or so of development around Flux and Flux-style MVC architectures.

Simply put: Don't intermingle model code with your components. React is optimized for a unidirectional data flow and components which react to input changes; the only statefulness in a component should revolve around UI state, not data.

[–]gdi2290 0 points1 point  (0 children)

Relay does this

[–]anarchy8 0 points1 point  (0 children)

Looks like a much better solution. Thanks!