The Trick to Understanding Scoped Slots in Vue.js

  Рет қаралды 54,713

Adam Wathan

Adam Wathan

Күн бұрын

Пікірлер: 69
@BsiennKhan
@BsiennKhan 5 жыл бұрын
I have already seen 3 veidos on scoped slots and this is THE ONE that made it all clear in a very simple way. Anyone who disliked the video, I wish you spill salt instead of sugar in your tea.
@guilleagudelo
@guilleagudelo 4 жыл бұрын
That guy has a teaching gift
@matthewhausman
@matthewhausman 3 жыл бұрын
agreed, second part is a bit much though XD
@fvbixn
@fvbixn 3 жыл бұрын
I am using vue for long now and did so many apps in it. Never understood scoped slots, and all tutorials & blog articles trying to explain it weren't working. Finally, it makes sense. Thank you Adam!
@nadeemkh100
@nadeemkh100 2 жыл бұрын
Man One of the best videos I have ever watched for explaining scoped slots in an easy way. Thanks a lot mate.
@andrewking1173
@andrewking1173 3 жыл бұрын
Omg you explained this so well, scoped slots are one of the most confusing things to follow on a first impression. Thanks!!
@adarshmihir74
@adarshmihir74 Жыл бұрын
Wonderful explanation on a quite difficult and confusing topic in Vue. That helped me a lot, thank you mate
@supertrillo
@supertrillo 6 жыл бұрын
This explanation is so beautiful. Thank you!!!
@ni_kabiu_john
@ni_kabiu_john 3 жыл бұрын
WWOOOOOOOOWWWW why were you not my lecturer..?????? well explained .. even tells you every possibilities and explains errors.. WELL MADE VIDEO TUTORIAL.. STRONG EMOJI STRONG EMOJI
@cadexgenomics3215
@cadexgenomics3215 6 жыл бұрын
Best explanation on this subject I have seen! Very nice work Adam.
@jemetz1818
@jemetz1818 6 жыл бұрын
Fantastic explanation. Clear and concise especially with the comparison. What is the use case of scoped slots however? In the example I’m not sure I understand why it would be useful to pull props up the the parent
@mahmoudzakria6946
@mahmoudzakria6946 4 жыл бұрын
That's the quite right question!
@yesayasoftware
@yesayasoftware 6 жыл бұрын
Thank you so much Adam. Your a good presenter and teacher. Your making the complex logic understandable in a simple approach. I like the way your fluently explaining these details. Definitely, I cant wait for the course to learn more. Thanks.
@sandrodentella
@sandrodentella 5 жыл бұрын
Very clear explanation. I have been looking for quite a lot of time for such an effective explanation on scoped slots. The other that is very effective... is again from you and is on renderless components!
@redfox05nl
@redfox05nl Жыл бұрын
@sandrodentella do you have a link? I tried to look for the renderless component video, can't find it.
@kelvin513
@kelvin513 4 жыл бұрын
Just found that the ‘slot-scope’ and ‘slot’ attribute is deprecated, and will not be supported in Vue 3. But this video explain the slot-scope very clear. Thanks a lot!
@bm2ilabs
@bm2ilabs 6 жыл бұрын
You dazzle me every time with this tips, thanks for the tutorial, Can't wait for the advancevue course
@ricklove8358
@ricklove8358 2 жыл бұрын
best explanation so far
@carlosync
@carlosync 4 жыл бұрын
What theme are you using on vs code?
@paz1359
@paz1359 2 жыл бұрын
Mesmerizing explanation ❤️
@igorl.vicente7275
@igorl.vicente7275 4 жыл бұрын
That really made easier to understand what I thought was so complicated.
@sixkiller9240
@sixkiller9240 6 жыл бұрын
Every tip of Adam just blows my mind! Keep rocking!
@ricklove8358
@ricklove8358 2 жыл бұрын
you just got yourself a new subscriber
@simonhunt9857
@simonhunt9857 6 жыл бұрын
Is there a way to pass from a child to a parent using scoped slots? For example, an html structure like this: Where is registered within the component rather than globally (or on the component) - which would make sense as you probably wouldn't ever need a sortable-list-handle outside of a sortable list. Out-of-the-box this throws an unregistered component error because the component doesn't know about precisely because it's being registered locally within the component.
@OmarOnAWave
@OmarOnAWave 3 жыл бұрын
what an AMAZING explanation !
@AshanBoralugoda
@AshanBoralugoda 4 жыл бұрын
wow! this made it all so simple to understand!
@superasn
@superasn 4 жыл бұрын
You're an amazing teacher Adam.. Finally I understand it. Also just checking but if you do won't it render html returned by the function too?
@ceo-s
@ceo-s Жыл бұрын
The best explanation. Thanks
@umitdemir3741
@umitdemir3741 5 жыл бұрын
This video is very helpful and your explanation is great. Thank you
@charlesyin3818
@charlesyin3818 6 жыл бұрын
Very clear, great video. BTW: what's the name of your color theme? It looks awesome
@MihkelMark
@MihkelMark 4 жыл бұрын
Epic. Well explained. 💯
@serendip9473
@serendip9473 3 жыл бұрын
perfect, Thank you.
@lucratricks
@lucratricks 6 жыл бұрын
whats the css framework you used for the contact list component ?
@4leep
@4leep 6 жыл бұрын
That's Tailwind, a CSS framework that Adam created. You can check it out at tailwindcss.com/
@AdamWathan
@AdamWathan 6 жыл бұрын
Yep Mads is right, Tailwind!
@CherPsKy
@CherPsKy 4 жыл бұрын
Very well explained, my man.
@paladincubano
@paladincubano 6 жыл бұрын
Thanks Adam, nice explanation, I already bought the entire course, very useful. One question, what editor and theme are you using?
@goodmans90
@goodmans90 6 жыл бұрын
Very well explained Adam!
@josephang9927
@josephang9927 6 жыл бұрын
I love hoy you explain stuff.
@kraeger
@kraeger 6 жыл бұрын
Great explanation, crystal clear
@abd_el_ouahab3824
@abd_el_ouahab3824 Жыл бұрын
awesome expalantion ! 👌
@2002budokan
@2002budokan 4 жыл бұрын
Great explanation, thank you.
@KevinGarcia-jg9zs
@KevinGarcia-jg9zs 5 жыл бұрын
Thanks, I'll watch this again, and again, until I get it, unless you have other resources?
@daviddaza2357
@daviddaza2357 5 жыл бұрын
What a genius. Thanks Adam!
@andys4777
@andys4777 6 жыл бұрын
thanks, it was just what i needed
@dasten123
@dasten123 6 жыл бұрын
Super excellent tutorial! Thank you very much!
@adam192021
@adam192021 5 жыл бұрын
The BEST as always!
@habalgarmin
@habalgarmin 6 жыл бұрын
Наконец-то стало понятно как это работает!
@tribakzero
@tribakzero 6 жыл бұрын
This is interesting, but seems to me that you forgot to add a fallback in case they don't want to use a scoped slot on every instance, something like this: `{{ contact.name.first }} {{ contact.name.last }}`
@narayanadhikary8833
@narayanadhikary8833 5 жыл бұрын
Thank You Very Much Brother
@alexanderkim7241
@alexanderkim7241 5 жыл бұрын
slot-scope is deprecated.
@AdamWathan
@AdamWathan 5 жыл бұрын
This video is almost two years old. The feature still works just the syntax has changed.
@kamilblack3346
@kamilblack3346 3 жыл бұрын
The "slot" and "slot-scoped" are depracated in 2.6.0+, but both attributes will continue to be supported in all future 2.x releases, but are officially deprecated and will eventually be removed/was removed in Vue 3.
@CarlosContreras-hh1xe
@CarlosContreras-hh1xe 5 жыл бұрын
Thank you!
@nyambe
@nyambe 6 жыл бұрын
Beyond awesome 😎
@rolikaseventysix
@rolikaseventysix 4 жыл бұрын
Brilliant, thx
@christianmartinez2179
@christianmartinez2179 3 жыл бұрын
A scoped slot is conceptually just a callback No wonder it looked so familiarly messed up **flashbacks**
@leeboyin945
@leeboyin945 4 жыл бұрын
scoped slots: a way for passing data from child components to their parent component
@RabbitWerksJavaScript
@RabbitWerksJavaScript 5 жыл бұрын
FullStack Radio!
@aukhianteosi9729
@aukhianteosi9729 6 жыл бұрын
They should put this in the tutorial
@grantholle
@grantholle 6 жыл бұрын
👏👏👏👏👏
@mikeziri
@mikeziri 6 жыл бұрын
powerfull!
@VGameJunkies
@VGameJunkies 4 жыл бұрын
this is fucking awesome
@yitan4142
@yitan4142 4 жыл бұрын
the video is smart
@longbo666
@longbo666 5 жыл бұрын
深入浅出,由表及里
@mrrolandlawrence
@mrrolandlawrence 4 жыл бұрын
tailwind and vue components were made for each other. so nice to ditch old fashioned bought components from different companies that all include so much baggage.
@thewizardguy1337
@thewizardguy1337 6 жыл бұрын
please. i love you. buy a pop filter for you mic !! =)
@eotikurac
@eotikurac 4 жыл бұрын
this vue stuff is insanely complicated
Vue.js Scoped Slots & Renderless Components
22:19
Andre Madarang
Рет қаралды 14 М.
Vue.js Tips: Use Slots The Right Way // VUE.JS SLOTS TUTORIAL WITH VUE 3
11:59
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Understanding Vue 3's "expose"
7:50
Vue Mastery
Рет қаралды 20 М.
Building a Reusable Tabs Component with Vue Slots
8:21
LearnVue
Рет қаралды 33 М.
Vue Slots Simplified
7:25
LearnVue
Рет қаралды 58 М.
Advanced Vue.js Component Design - Adam Wathan
1:00:13
Laracon Online
Рет қаралды 8 М.
Master Vue Recursion
10:23
Program With Erik
Рет қаралды 8 М.
Для чего нужны scoped slots во Vue
9:53
easydev
Рет қаралды 2,5 М.
Building a Sortable Component with Vue.js
1:03:58
Adam Wathan
Рет қаралды 22 М.