Conquering Forms in Vue - VueConf US 2023

  Рет қаралды 5,414

Vue Mastery

Vue Mastery

Күн бұрын

Пікірлер: 11
@zpt6698
@zpt6698 5 ай бұрын
Great job, this is exactly what I've always wanted, simple and powerful
@yousifbodagh2113
@yousifbodagh2113 Жыл бұрын
This is awesome! I am definitely going to give it a try today.
@therealzaybee
@therealzaybee Жыл бұрын
Formkit looks very promising ! You are a life saver, excited to try it out.
@user-yb5js8hc2r
@user-yb5js8hc2r Жыл бұрын
Will be looking into this for my project
@Stoney_Eagle
@Stoney_Eagle Жыл бұрын
Impressive, I hope it also makes it easy to make the designers happy.
@ashitaaaka
@ashitaaaka Ай бұрын
Amazing!
@DodaGarcia
@DodaGarcia Жыл бұрын
That tweet cited around the 2-minute mark is so... aggressively ignorant. It peeves me to kingdom come when someone tries to make something complex sound simple by abstracting it into a short list where each item just happens to contain a world of complexity. The "user interactions" and "state management" items alone can get incredibly difficult to get right, robust and intuitive across all kinds of devices. "Toss in some validation functions", great, why not reinvent the wheel every time for all the validations that need to happen in the front-end and the back-end, with their attendant error messages and whether they exist on the form level, step level or field level? Might as well make it all one function even, validateForm(). All set!
@Tarabass
@Tarabass Жыл бұрын
It's not true "Personal details" is just nothing and doesn't end up in the tree. It will if you would make it a field set (with a label). They do not exist for nothing lol
@Andrew_FormKit
@Andrew_FormKit Жыл бұрын
In this case, looking at the form structure that we're trying to produce - `` does not contribute to our desired form tree. We want the inputs nested inside to be at the top level and not grouped in any fashion (this is arbitrary and we could certainly make an example where this was not true). Even if we did want them grouped, the point remains that the `` component _is_ completely irrelevant to our form data and you could image a form where many layout-type components of various kinds (cards, groups, tabs, accordions, etc) create boundaries in the component tree that are irrelevant to our desired form tree structure. The value that FormKit is providing here is that you don't need to worry about these strictly UI component at all - no matter what depth or degree of separation there is between a group and it's child nodes in the form tree, FormKit will organize it for you without you needing to do any manual plumbing of props / events. FWIW, FormKit does make use of `fieldset` tags to create accessible markup for its grouped inputs such as `repeater`, `radio`, and when you're doing multiple associated `checkbox` inputs.
@Tarabass
@Tarabass Жыл бұрын
@@Andrew_FormKit thank you for your response! Much appreciated. I like the approach of not ending up in a tree hell, referring to callback hell. We will certainly try out this library. How is support for nuxt 3 atm?
@DodaGarcia
@DodaGarcia Жыл бұрын
But that's exactly the thing, there's no reason why your UI requirements should dictate the shape of your data.
Appetite for Components - VueConf US 2023
27:47
Vue Mastery
Рет қаралды 1,1 М.
Proven Pinia Patterns - VueConf US 2023
31:34
Vue Mastery
Рет қаралды 16 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Common Mistakes in Vue js and How to Avoid Them - Daniel Kelly
29:49
VueConf Toronto
Рет қаралды 11 М.
Master Vue in 15 Minutes: From React Developer to Vue Pro
15:50
Neuronfire
Рет қаралды 3,1 М.
Common Mistakes in Vue.js and How to Avoid Them | VueConf US 2024
25:16
Easy Form Validation With Vuelidate | Vue 3
8:19
John Komarnicki
Рет қаралды 34 М.
Build your own Custom Composables in Vue
12:13
Vue Mastery
Рет қаралды 44 М.
A Better Way To Organize Components In Vue
10:10
Program With Erik
Рет қаралды 27 М.
Building Accessible Vue Components
41:03
Vue Mastery
Рет қаралды 6 М.
Stop Using .value with ref In Vue 3! Reactivity Transformed Explained!
14:22