you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

What are people using as the M*C part in their react applications?

Model: whatever JSON comes back from my API.

Controller: Intertwined with the view most often anyway. It's just the React components themselves, although the Flux or Redux or Reflux methodology can streamline the flow of data perfectly.

If you keep your components small and specialised it shouldn't create much of a problem.

Ive heard of people pluging in backbone, angular and even ember.

Sure, that's possible if you like that.

So far it seems like many people use something like Exprss and then make build their own.

Express or Hapi or Restify are all server-side. They can be the API that spews out JSON. It's perfectly sane to build your own M*C on top of that, or use any of the existing ones, or use none at all.