There are a good number of architectural patterns that can be used with React. From a standard Flux pattern, to Flux variants like Reflux, to an entirely different language and ecosystem like Om and ClojureScript, React has proven to be quite adaptable. In this chapter we’ll explore how our sample React app is structured and how this structure helps manage complexity as your project grows. We’ll also explore some popular alternatives.
It is commonly said that you can consider React to be the V in MVC. It could be used with inline AJAX requests as shown below but, this quickly becomes hard to reason about: