DEV Community

Discussion on: Two way data binding in vue,react and vanilla js

aarone4 profile image
Aaron Reese

The Vue way intrinsically links the form data to the model which is brilliant right up to moment it isn't :)
If your form only represents part of the entity, or more than one entity or needs to auto add rows, or the model is stored in state it becomes harder to separate and manage. The react way with circular binding where the button updated state and state updates the form is actually easier to manage. I still like the Vue way better though.