Design Patterns · Middle · Question 23 of 75

How does MVVM differ from React's approach?

Explanation

Angular and Vue support two-way binding (v-model, [(ngModel)]): field changes automatically go into the model. In React, the value and handler are wired explicitly (value + onChange) - more code, but a more transparent data flow.

Further reading

Problem with a question

Design Patterns · Middle · question 23

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz