Hacker News new | ask | show | jobs
by naiyt 3077 days ago
> two way data binding

Maybe it's better in Vue than it was in AngularJS, but this seems like a downside to me.

1 comments

v-model is meant for use specifically with <input> tags, so your local component state stays synced with what the user sees. You can use it on components, but you're not meant to. In general, vue encourages you to avoid using two way data binding on custom components unless your component is a souped up input component, like a fancy date picker or something.