Questions tagged [flux]

An application design paradigm used as a replacement for MVC, pioneered at Facebook by Jing Chen

Flux is an application design paradigm used as a replacement for the more traditional pattern.

It complements React's composable view components by utilizing a unidirectional data flow. It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.


Popular implementations :

1614 questions
38
votes
2 answers

Flux best practices: Stores dispatching actions, AJAX calls in Web API Utils?

I understand that this image has been the ultimate guide of most, if not all, Flux programmers. Having this flow in mind, I have a few questions: Is it correct/highly advisable to have all of my $.ajax calls inside my Web API Utils? Callbacks…
ton
  • 1,143
  • 3
  • 13
  • 34
34
votes
2 answers

React.js - Communicating between sibling components

I'm new to React, and I'd like to ask a strategy question about how best to accomplish a task where data must be communicated between sibling components. First, I'll describe the task: Say I have multiple