JavaScript Technical Interview Question: is React a MVC or MVVM?
And what are the differences between all of the various design architectures?
Published in
11 min readMar 9, 2020
JavaScript has gained so much popularity recently and many MV* based JS frameworks are made and gained popularities among JS developers. Let’s find out what MV* design pattern each frameworks use and how they interpret the design pattern
JavaScript MVC frameworks detract from conventional MVC for its use of controllers (C of MVC)
Server Side interpretation of MVC does not translate 1:1 on the client side
What is MV*?
- In the past, MV* patterns have been heavily used for structuring desktop and server-side applications, but it’s only been in recent years that they have been applied to JavaScript
- The main goal of MV* pattern is a separation of concerns
- There are 3 very important architectural patterns in MV* patterns (MVC, MVP, MVVM)