Conquering Forms in Vue - VueConf US 2023

  Рет қаралды 4,544

Vue Mastery

Vue Mastery

Күн бұрын

Building great forms is a pain. You need to consider labels, help text, validation, grouping, internationalization, accessibility, repopulation, and backend error handling. Honestly, it can be tempting to cut corners. In this talk, Justin Schroeder introduces FormKit - a form framework that can dramatically simplify your next project.
Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials 👉 www.vuemastery.com/courses
0:00 Intro
1:28 Why are forms hard
12:16 Theoretical solutions
16:15 FormKit's implementation

Пікірлер: 9
@therealzaybee
@therealzaybee 7 ай бұрын
Formkit looks very promising ! You are a life saver, excited to try it out.
@yousifbodagh2113
@yousifbodagh2113 7 ай бұрын
This is awesome! I am definitely going to give it a try today.
@Stoney_Eagle
@Stoney_Eagle 7 ай бұрын
Impressive, I hope it also makes it easy to make the designers happy.
@user-yb5js8hc2r
@user-yb5js8hc2r 6 ай бұрын
Will be looking into this for my project
@DodaGarcia
@DodaGarcia 6 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
@@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 6 ай бұрын
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 М.
Patterns for Large Scale Vue.js Applications - VueConf US 2023
18:54
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 11 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 49 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 60 МЛН
Proven Pinia Patterns - VueConf US 2023
31:34
Vue Mastery
Рет қаралды 12 М.
FormKit: the form framework for Vue
1:05:50
Kelvin Omereshone
Рет қаралды 2,5 М.
You’re Probably Using Lighthouse Wrong - Vue.js Live 2023
21:41
Vue Mastery
Рет қаралды 1,4 М.
What's next for Vue? Evan You explains...
24:11
Vue Mastery
Рет қаралды 63 М.
Why I Don't Use v-model In Forms in Vue.js | Form Tips
12:11
Program With Erik
Рет қаралды 42 М.
5 Patterns for Better Components in Vue.js - Michael Thiessen
29:08
VueConf Toronto
Рет қаралды 4,7 М.
How to animate Vue with GSAP
30:52
Vue Mastery
Рет қаралды 16 М.
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 317 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,8 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 2,3 МЛН