Re:Vue.js: the good, the meh, and the ugly
by kevin_thibedeau on Thursday July 05, 2018 @10:59PM
(#17468546)
"v-model" is syntax sugar emulating a two-way binding to simplify form creation. Under the hood it's a one-way bound prop, an event, and an implicit event handler. Ordinary events can't mutate state without an explicitly created handler.
https://vuejs.org/v2/guide/components-props.html#One-Way-Dat...
https://vuejs.org/v2/guide/comparison.html#Data-binding
[ Parent
| on HN ]
There are no comments on this comment yet.