3 ms·
Incorrect. In fact, you can use React as the 'V' in MVC. That's how it was orignally designed. See here: https://github.com/facebook/react/tree/015833e5942ce55c
by petilon 4y ago
Incorrect. In fact, you can use React as the 'V' in MVC. That's how it was orignally designed. See here: https://github.com/facebook/react/tree/015833e5942ce55cf31aefd0a5c2be8a65ec2daa https://github.com/facebook/react/tree/015833e5942ce55cf31ae...
I am done with this thread.
- davorak 4y agoOne of my complaints about reading computer science and/or programming books in the early 2000(or late 1990s?) was the contradictory definitions of MVC in books I read at the time. I think one book even indicated that MVVM(I think) was often referred to as MVC as an explanation for why this happened. So it understandable people still have conflicting definitions. Here is a random example[1] I pulled up of someone one thinking MVC is not unidirectional but MVVM is. I am not commenting on the correctness of this impression. > MVVM is better than MVC/MVP because of its unidirectional data and dependency flow. Dependency is one way,... [1] https://dev.to/vtsen/mvc-vs-mvp-vs-mvvm-design-patterns-443n#:~:text=MVVM%20is%20better%20than%20MVC,app)%20are%20based%20on%20MVVM https://dev.to/vtsen/mvc-vs-mvp-vs-mvvm-design-patterns-443n....
- deleted 4y ago[deleted]
- phailhaus 4y agoThat's not what we're talking about at all, and you've lost the plot. The reason why React has won out for over a decade is because of the abject failure of MVC to materialize its benefits. It just doesn't scale.
- interlocutor 4y agoWhat about it doesn't scale? Most UI frameworks, including ASP.NET Core, JSP and JSF (Java based frameworks), Ruby on Rails, and Django (Python) are all based on MVC. If MVC doesn't scale the folks who maintain those frameworks would have noticed by now.