Slots Slots Slots Everybody | VueConf US 2024

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Abbey Perini presents a talk at VueConf US 2024. Watch all the talks from this conference and more on Vue Mastery 👉 www.vuemastery...
    Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials 👉 www.vuemastery...
    0:40 React
    1:44 Vue and Angular
    4:19 Named Slots
    5:55 Scoped Slots

Комментарии • 12

  • @VueMastery
    @VueMastery  Месяц назад

    Ready to master Vue.js? Level up here 👉 www.vuemastery.com

    • @AdnanErlansyah-nx7xp
      @AdnanErlansyah-nx7xp Месяц назад

      Awesome, but can a slot also emit a listener from the child to the parent? I'm still struggling with this. I have a case where when there's an emit in the child or slots, I want it to be triggered in the parent as well.

  • @olatunjiolakunle6908
    @olatunjiolakunle6908 Месяц назад +3

    Beautifully explained, particularly like renderless components

  • @chlouis-girardot
    @chlouis-girardot Месяц назад

    Thanks Abbey, well explained !

  • @RazahLP
    @RazahLP Месяц назад

    She has so much energy! :))

  • @AdnanErlansyah-nx7xp
    @AdnanErlansyah-nx7xp Месяц назад +1

    Awesome, but can a slot also emit a listener from the child to the parent? I'm still struggling with this. I have a case where when there's an emit in the child or slots, I want it to be triggered in the parent as well.

    • @milos018
      @milos018 Месяц назад

      For this you can use regular emit from child to parent and handle it in the parent, right?

    • @waleedtariq109
      @waleedtariq109 Месяц назад

      You can expose that function from child using defineExpose and access it through parent and with this approuch you don't event need to emit a function

  • @msk7148
    @msk7148 Месяц назад

    May be simple way for this task - Provide/Inject ?

  • @Ansari_Zubair
    @Ansari_Zubair Месяц назад

    No disrespect, but it can be explained more deeper and better, like how slots works and more

    • @TrentBrew
      @TrentBrew Месяц назад +1

      This is a reallly well-done concise intro to slots. There are plenty of 3hr tutorials online if thats what youre into