Awesome. Thanks, Sam! I just subscribed so I can keep up with more info about Slots. I'm very curious to see more examples on how we can use this in real world scenarios. I'm still failing to wrap my head around how we can use it to make our components more robust and reusable, and how they're different from normal components.
@sam-harrison4 ай бұрын
Thanks for subscribing! I’ll make another video on how they can be used in real world scenarios 👍🏻
@tancdiscovery94324 ай бұрын
They're not and apart from giving clients the ability to drag&drop and couple of other minor use cases, they're actually a net negative. They add more work (&layers of abstraction), make you site structure unreadable, fill your components panel with an endless list of single use components and worse of all, if you haven't memorised all your classes, they will slow you down considerably. Completely pointless
@sam-harrison4 ай бұрын
@@tancdiscovery9432 They're probably best used sparingly rather than for everything. At least for the moment. Adding slots for different types of potential CTA elements is quite useful.
@HudsonOliveira-m2k4 ай бұрын
@@tancdiscovery9432 I see your point. That's pretty much what makes it more confusing to me. There will be a lot of "abstract nesting", so it better be an amazing trade off. Hopefully Sam will find some nice examples to gives a better understanding of the feature. Pros and cons.
@tryderrick4 ай бұрын
This is a solid demo!
@sam-harrison4 ай бұрын
Thanks dude! Congrats on your channel too, I liked your recent comparisons video! 👍
@stevedowning48244 ай бұрын
Very good overview - love it! But can't see a huge benefit using slots 🤨
@sam-harrison4 ай бұрын
Thank you! It seems lots of people feel the same so I’ll do another video explaining why I think they’re useful 👍🏻
@kjellruben4 ай бұрын
Really good demo, but as mention below, what is the real life use case? Why do this vs just using normal classes and just building out sections? :) New subscriber here, really good demo!
@sam-harrison4 ай бұрын
Thanks for subscribing! I’ll do another video on slots to go into more detail 👍🏻
@jdanielortega3 ай бұрын
I must be missing something, if we want this amount of freedom to make components that different between each other, why make them components in the first place?
@frankdrolet94394 ай бұрын
Unfortunately, I don't understand the point of the "Game Changer " in your title, 90% of the video was about components and never demonstrated 1 advantage of using slots, you never even show 1 real use case where it's really speed up your flow or something
@victorjsvedberg26 күн бұрын
It helps a lot if you design something and someone less tech savvy on your team or a client needs a bunch of premade options, which they can just drag and drop. There is a Build mode where they can do just this, but not change styles and design settings.