Vue v-model in child components and defineModel

  Рет қаралды 10,208

Andre Madarang

Andre Madarang

Күн бұрын

Пікірлер: 28
@drehimself
@drehimself Жыл бұрын
defineModel is now stable in Vue 3.4: blog.vuejs.org/posts/vue-3-4#definemodel-is-now-stable
@whatsupbudbud
@whatsupbudbud Жыл бұрын
Loved your structural approach from least to most abstract.
@martinpenev6750
@martinpenev6750 Ай бұрын
Your video finally made me understand v-model and defineModel. Had so much trouble getting my head around. Thx for that!
@Niv-i9b
@Niv-i9b Жыл бұрын
So glad I found this video. I just started working with Vue after React and this topic was very confusing for me. Especially since the same thing can be done in different ways. Thanks!
@eldarsadykov
@eldarsadykov 2 ай бұрын
Same!
@maxralph01
@maxralph01 Жыл бұрын
Wow ! Been a while, Andre ! Single-handedly, your e-commerce video series made me an intermediate Laravel developer. Returning to say "Thank you" !
@N1mdae
@N1mdae Жыл бұрын
This video was very helpful, thanks
@claytonnighthawk7837
@claytonnighthawk7837 9 ай бұрын
Thank you, this was a really helpful explanation!
@ivan4486
@ivan4486 9 ай бұрын
This is so helpful! Thank you so much!
@oketafred
@oketafred Жыл бұрын
Awesome content Andre
@keno571
@keno571 Жыл бұрын
Thanks for the great video! Looking forward to more :)
@ulugbekatakhanov1431
@ulugbekatakhanov1431 Жыл бұрын
the best explanation. Great.
@aissa.bouguern
@aissa.bouguern Жыл бұрын
Great and informative video as usual!
@acerhigh09
@acerhigh09 7 ай бұрын
defineEmits not needed when using defineModel, are still there in the defineModel example, but perhaps that implicitly meant
@devmenezes
@devmenezes Жыл бұрын
Nice content, Andre.
@masterchief9148
@masterchief9148 Ай бұрын
Super helpfull ! But how it works if my input is a child of a child ? Basic example: I've my parent page, she has a FilterComponent who have some InputComponent. How can I've the same result ?
@munandisichali605
@munandisichali605 Жыл бұрын
Any full courses that will come from you?
@drehimself
@drehimself Жыл бұрын
Possibly in the future, for now, just trying to get some steady content going here on YT.
@isabelphillips451
@isabelphillips451 7 ай бұрын
Thank you for this 🤗
@codedjango
@codedjango Жыл бұрын
Thanks....followed your tutorial n works very well, however, in Vue DevTools, in the child component, it shows: event-listeners: update:model-value: not-declared Is it that Vue devtools is not ready for this "defineModel" macro? Please suggest
@TheTatsin
@TheTatsin 5 ай бұрын
Thank you !
@mikeywork6348
@mikeywork6348 Жыл бұрын
Does this work if the modelValue is an object that contains arrays?
@EduardoDonato82
@EduardoDonato82 Жыл бұрын
Hi, what vscode theme are you using?
@johnnydriesen7575
@johnnydriesen7575 Жыл бұрын
Excellent Vid. Very well explained. Thanks for willing to share your knowledge, and taking your time to create this vid. Question to you.. R U a fan of TS ? And if I can ask ... Why (not) ?
@drehimself
@drehimself Жыл бұрын
I've only used TypeScript at a very basic level, I haven't really used it for any major projects. I understand the benefits, and I think you'll only see them if you really decide to go all in. Vue 3.3 has made some considerable improvements to using TS within Vue, so maybe we'll see more Vue devs using it. Check out this talk by Tanner Linsley (author of popular React libraries) who outlines his journey from non-TS person, to all-in with TS: kzbin.info/www/bejne/hWWsiH2ZlsuLbsU. I think this is how most TS users feel.
@johnnydriesen7575
@johnnydriesen7575 Жыл бұрын
@@drehimself Thank you for your reply ! Highly appreciated.
@Skia_
@Skia_ Жыл бұрын
If you try to console log the name ref in the app component, the value will not update in the console when the input value changes. Can someone explain to me why? I am a React developer How can i make the name ref update in the script tag? Thanks in advance
@whatsupbudbud
@whatsupbudbud Жыл бұрын
Question is where in the App component lifecycle you're console.logging it. If you did it just in the script tag, that would be similar to doing once on mounted.
Common Mistakes in Vue js and How to Avoid Them - Daniel Kelly
29:49
VueConf Toronto
Рет қаралды 11 М.
#30 v-model и  семантика - Vue.js: нюансы
14:51
JavaScript.Ninja
Рет қаралды 17 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Why I Don't Use v-model In Forms in Vue.js | Form Tips
12:11
Program With Erik
Рет қаралды 43 М.
Props and Emitters in Vue 3 (FULL TUTORIAL)
14:53
VueReference
Рет қаралды 19 М.
Organize your Composition API code (2k subscriber special)
18:22
Alexander Lichter
Рет қаралды 28 М.
Vue 3: Reactivity Made Easy (ref, reactive, toRefs... oh my!)
13:04
Program With Erik
Рет қаралды 50 М.
V-Model in Vue Simplified
8:04
LearnVue
Рет қаралды 34 М.
I joined The Darkside Of Web Development VUE JS
12:58
CodingPhase
Рет қаралды 4,4 М.
Build your own Custom Composables in Vue
12:13
Vue Mastery
Рет қаралды 44 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН