One-Way vs. Two-Way Data Binding

2017/11/25

Two-way binding is simply a way to sync data to a view and vice versa (mvvm pattern). One-way data binding refers to the design pattern found in component based frameworks, where a child component cannot modify data passed by a parent component, as that creates spaghetti code.

One-way vs Two-way data binding

Image source slideshare

One-Way Data Binding

Two-Way Data Binding