4 ms·
Ah i missed those cause this is different from the demo they showed. But the point still stands. There’s not a useDtate per form field which is how react normal
by bern4444 5y ago
Ah i missed those cause this is different from the demo they showed. But the point still stands. There’s not a useDtate per form field which is how react normally handles forms
- Aeolun 5y agoHmm, you can easily use a normal form submit to pull field information from. We always want to do fancy things where we need the info while it is being changed though.
- bpicolo 5y agoForms are one of those things that are so much easier to manage in Vue (and no extra dependencies) https://v3.vuejs.org/guide/forms.html https://v3.vuejs.org/guide/forms.html
- patates 5y agoTwo-way bindings could seem like a great idea at first, but then you start building on top of it.
- nsonha 5y agolet me clarify it with the specific complication I've always encountered. You always need a function to parse raw input, a dictionary of strings, to the typed model object, or fail, then there should be a function to serialize the model back to the input attributes. You owing these 2 functions make 2 ways binding useless.