Reputation: 301
I am new to ReactJS, i know we can consider MVC while working with ReactJS. My Question is ReactJS Focuses on which of the following part when considering MVC
Upvotes: 3
Views: 2349
Reputation: 145
React is JavaScript library from Facebook, that is designed to create interactive UIs. The main features are that it’s So, React is often referred to as the View in a MVC structure, Facebook presented their own architecture called Flux
Upvotes: 2
Reputation: 15851
React is a library and not a framework. This mean that it provides only the "V" of MVC. And although it manages views, the paradigm at its base is composition and the architecture is Flux, where data flow isn't bidirectional (like MVC) but instead flows unidirectionally from top to bottom.
Upvotes: 2