Тёмный

A Deep Dive into Modeling Data with Vue 

Luke Diebold
Подписаться 4,7 тыс.
Просмотров 1 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@HoangNguyen85
@HoangNguyen85 9 месяцев назад
I love how you clearly explained the defineModel. Thanks
@LukeDiebold
@LukeDiebold 9 месяцев назад
You're welcome!
@Telvorn
@Telvorn 7 месяцев назад
Best explanation I've seen of how all this works in Vue! Well done and thanks!
@LukeDiebold
@LukeDiebold 7 месяцев назад
Most welcome 😊
@Gepeto213
@Gepeto213 9 месяцев назад
Actually I am a little bit ashamed to learn all of that just now. I never went so deeply in the logic behind and am really happy to understand what's underneath. Maybe one of the best explanation I have seen on that. Thanks Luke!
@LukeDiebold
@LukeDiebold 9 месяцев назад
Wow thankyou! You're most welcome :)
@LNSFLIVE
@LNSFLIVE 9 месяцев назад
I remember being this excited too
@colinj8852
@colinj8852 9 месяцев назад
LOL!, 12:04 "...a lot of code, just to change a bloody value!". very Aussie way of explaining things :)
@russpalermo
@russpalermo 9 месяцев назад
Super cool Luke and timely starting forms/dialogs today. Thanks I have a lot to do. Need to experiment a little to take this one more level and decouple the form from the dialog. I like having my forms a little more flexible so I can use them when needed in a page/card, a dialog and/or a slide-in. Nonetheless you finally gave me clarity on props/emits and defineModel!
@LukeDiebold
@LukeDiebold 9 месяцев назад
Oh absolutely! I hope it was clear I'd almost never put a form directly in a dialog, and it would be in its own component. Probably shouldn't have been lazy and shown that!
@DontFollowZim
@DontFollowZim 9 месяцев назад
22:25 useVModel does not define the emits. Defining emits is entirely optional. You can call emit with any event name and payloads you want at any time. All defineEmits does is document which events there are so you can get type checking and intellisense when using emit or attaching event listeners.
@LukeDiebold
@LukeDiebold 9 месяцев назад
Looked through the source code for useVModel and can see that you're right! I assumed it did, because usually Vue throws a warning when trying to emit an event that doesn't exist, yet it seems that's only the case when going through defineEmits. That makes sense, because if we didn't have a way to do dynamic emits... that would suck! Thanks for the correction :)
Далее
Actions Are Coming To The Blue Standard!
26:11
Go Has Exceptions??
16:58
Просмотров 70 тыс.
Только ЕМУ это удалось
01:00
Просмотров 816 тыс.
The Blue Standard 101 - Building Quasar Apps That Scale
2:03:16
File Upload & Download in Node.js
1:10:29
Просмотров 41
NSURLProtocol: How I Stole an App For My Wedding
56:25
Working with LSD Project
35:11
Просмотров 297
Composable Vue - Anthony Fu - VueDay 2021
21:25
Просмотров 12 тыс.
Quasar - Separating Home Page from App (SEO)
1:05:14
Только ЕМУ это удалось
01:00
Просмотров 816 тыс.