QUICK VUE TIP - FORGET PROPS USE $ATTRS!

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • In this video we look at Vue.js $attrs and inheritAttrs. Both of these are a cool way to pass information from a parent component to a child component!
    Make sure to download the 100% free ebook from my sponsor at go.thoughtleade...
    Watch my previous video!
    • QUICK VUE TIP - EVENT ...
    Code - bit.ly/2QEhBMy
    -----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆
    ► LEARNING TO CODE? CHECK OUT THESE COURSES! (SOME ARE AFFILIATE)
    JAVASCRIPT ALGORITHMS COLT STEELE'S COURSE - bit.ly/2L8HSPV
    THE WEB DEVELOPER BOOTCAMP (GREAT FOR BEGINNERS) - bit.ly/2zP4alw
    THE ADVANCED WEB DEVELOPER BOOTCAMP - bit.ly/2h53MYg
    THE ULTIMATE VUE JS 2 COURSE - bit.ly/2CTvsvx
    CHECK OUT THIS COURSE - Angular 6 - The Complete Guide - bit.ly/2sCMxWm
    VUE.JS + NUXT.JS (Two Courses In One) - bit.ly/2LalQka
    CHECK OUT MY AMAZON STORE - www.amazon.com....
    ► Wes Bos's Courses!
    REACT FOR BEGINNERS - bit.ly/2BctxOE
    ES6 - bit.ly/2iF4YT3
    LEARN NODE - bit.ly/2jKLYpE
    ___
    ► JOIN MY FACEBOOK GROUP AND START LEARNING CODE - / 19027. .
    ___
    ► GET THE FIRST CHAPTER OF MY NEW BOOK Vue.js in Action! SIGN UP HERE! - bit.ly/2GWWuEw
    GET MY LAST BOOK EMBER.JS COOKBOOK! - goo.gl/LEIdSc
    GET MY NEW BOOK VUE.JS IN ACTION - goo.gl/qohSPs
    ___
    Links:
    MY WEBSITE - www.programwith...
    MY TWITTER - / erikch
    MY FACEBOOK - / programwitherik

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

  • @luizmeier
    @luizmeier 6 лет назад +4

    Would be nice to have a tutorial on how to design "large" forms (number of inputs etc) !

  • @robertadby4517
    @robertadby4517 4 года назад +1

    +1 Nice. Just what I was looking for. The syntax to exclude 1 attribute from $attrs.

  • @luispereira8396
    @luispereira8396 2 года назад

    Was trying to learn what inheritAttrs was and learned much more that i expected. Great video 10/10

  • @Meleeman011
    @Meleeman011 4 года назад

    thank you for this, i'm working with a range slider, trying to do volume control and this might a way to do it reactively

  • @erykczajkowski8226
    @erykczajkowski8226 3 года назад

    Thanks, I get now what that mysterious $attrs is! But why would we want to not to declare props and pass something down outside of them?

  • @AbhishekKumar-mq1tt
    @AbhishekKumar-mq1tt 6 лет назад +1

    Thank u for this awesome video

  • @kritical633
    @kritical633 5 лет назад +1

    Was simply trying to figure out what $attrs is.
    Learned a whole new way to pass values that comes in especially handy in my situation.
    Thanks!

  • @welterdavin5486
    @welterdavin5486 5 лет назад

    good for you

  • @Andrianodna
    @Andrianodna 4 года назад

    completely unrelated to the topic at hand... that keyboard sound is glorious, what is it? :D

    • @ProgramWithErik
      @ProgramWithErik  4 года назад +1

      It's a really loud Corsair, I'm actually thinking of replacing it.

    • @Andrianodna
      @Andrianodna 4 года назад

      @@ProgramWithErik thanks a lot, nice videos also

  • @welterdavin5486
    @welterdavin5486 5 лет назад

    kind hearted

  • @welterdavin5486
    @welterdavin5486 5 лет назад

    awesome

  • @welterdavin5486
    @welterdavin5486 5 лет назад

    champion

  • @AkkayHT228
    @AkkayHT228 5 лет назад

    0:05 - 0:06 nice song :O