4 ms·
> two way data binding Maybe it's better in Vue than it was in AngularJS, but this seems like a downside to me.
by naiyt 9y ago
> two way data binding
Maybe it's better in Vue than it was in AngularJS, but this seems like a downside to me.
- chuckdries 9y agov-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.