Episode 31: Navigating Scoped Slots

Enjoy the Vue - En podcast af The Enjoy the Vue Team

Kategorier:


Sponsored By:

Honeybadger logo

Show Notes

[00:02:26] Before we get into Scoped Slots, Ari, Tessa, and Ben explain what Slots are first, for those who never used it before

[00:04:45] Tessa and Ari tell us what Scoped Slots are to them. Ben goes into the select drop down menu, uses a library book analogy, and explains the concept of slot props.

[00:10:00] Tessa poses a question to Ben about if the child can show the parents the child’s data, but the parents can’t mutate it or if the child has to specify which parts of its data the parents can access a mutate.

[00:16:56] Tessa asks Ben about how to restyle with a string and Ben tells her what to do.

[00:25:30] Tessa asks Ben if it’s possible or not possible to access the scoped plot data in the script tag. Also, Ben lets us know what kind of components he is in favor of.

[00:28:40] Tessa tells Ben her takeaway on a use case and wants Ben to tell her if it’s right or wrong.

[00:33:32] Ari tells us where she always gets tripped up and it has to do with the difference in mental model.

[00:38:51] Tessa wants to know if $slots and/or its children are not reactive and does it have to be observed in some kind of deep way? Also, what kind of caveat do we have to be aware of when we’re working with slots in the JavaScript part of the single file component?

[00:42:06] Tessa gives us an update on an old GitHub issue on $slots.

Picks of the week:
[00:43:17] Ben has two picks: a game on Steam called Littlewoods and Bearaby Weighted Blanket.
[00:45:57] Tessa has two picks: several drawing apps on Android, IOS & iPadOS, and Mac/Windows and The Umbrella Academy-Season 2 (Netflix).
[00:46:49] Ari has two picks: Pure Beech (Satin Finish) Sheets and a movie called, It’s a Disaster.

Sponsor:
Honeybadger

Resources mentioned:
Slots
Scoped Slots 
Littlewood-Steam
Bearaby Weighted Blanket
LayerPaint-Android
LayerPaint HD-Android
Clip Studio Paint for iPad
Ibis Paint (App store)
FireAplaca (Mac and Windows)
The Umbrella Academy (Netflix)
Pure Beech Sateen Sheet Set (Bed Bath & Beyond)
It’s a Disaster- Hulu
It’s a Disaster - Amazon Prime Video

Visit the podcast's native language site