izolate
izolate

Reputation: 1600

What is declarative data binding?

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

Answers (1)

BrunoLM
BrunoLM

Reputation: 100351

Basically it binds javascript variables to fields

Some pseudo-code

<input type="checkbox" data-bind="{ personObj.hasStuff }" />

Upvotes: 9

Related Questions