Reputation: 1600
All modern JavaScript frameworks seem to agree upon declarative data binding, and I've noticed it being talked about recently. Can somebody please explain it to me in simple terms?
Upvotes: 11
Views: 4497
Reputation: 100351
Basically it binds javascript variables to fields
Some pseudo-code
<input type="checkbox" data-bind="{ personObj.hasStuff }" />
Upvotes: 9