3 ms·
The Container/View Pattern in this article, isn't this MVC?
by blumomo 9y ago
The Container/View Pattern in this article, isn't this MVC?
- Cthulhu_ 9y agoYou could argue it's a variation thereof, more like MVVC (Model View ViewController) maybe. In React you only really have the View layer. In this case, there's two views, a 'functional' view (the ViewController) and the 'presentation' view (the View itself). I guess the main difference is that in MVC, the view and controller are two separated entities (side-by-side), while in React it's embedded (Controller wraps around View).