4 ms·
In Vue two way data binding, like v-model="var1" is syntax sugar for `v-bind="var1" v-on:input="var1 = $event.value" The difference between this and rreact is
by rk06 4y ago
In Vue two way data binding, like v-model="var1" is syntax sugar for `v-bind="var1" v-on:input="var1 = $event.value"
The difference between this and rreact is less typing, easier mental model and less issues (because react calls render() multiple times)
- Rapzid 4y agoWhich are also just sugars for creating setter callbacks.
- bayesian_horse 4y agoYou only have issues with render getting called multiple times if you use React incorrectly...
- rk06 4y agoThat is one way to look at it. The other way is that vue/svelte/solid do not have a way for them to be used incorrectly