Every JavaScript Dev Should Know This (Defer Attribute)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024

ความคิดเห็น • 37

  • @michajankowski3615
    @michajankowski3615 2 ปีที่แล้ว +12

    Worth to add: "the defer attribute has no effect on module scripts - they defer by default." (MDN)

  • @אופירבינדר
    @אופירבינדר 9 หลายเดือนก่อน +1

    thx for so good solution and not long explanation mate

  • @MahbubTonoy
    @MahbubTonoy 2 ปีที่แล้ว +2

    Thank you for this quick and helpful video.

  • @naeem2057
    @naeem2057 2 ปีที่แล้ว +3

    OMG wow, never understood it till this point. Finally you made it clear

    • @zachfenton608
      @zachfenton608 2 ปีที่แล้ว

      My js teacher told me this a year ago

  • @mohsinbashir2902
    @mohsinbashir2902 2 ปีที่แล้ว +3

    Hey Dom, every time I got stuck something I search on TH-cam and most of the you're the first who appears me and then when I click that video I really understand what I'm looking for you're great person, knowledgeable person at least for me, and you're not deserve this count of audience is very very little when it compares you other channels although you're more knowledgeable then them I recommend you to make a 3-8 hour course and then publish a free code camp or traversy media I see a lot of people doing that and there audience increases thanks bro for sharing these valuable content,
    From a guy who use you're content almost every day 🙏🏽 ❤

    • @dcode-software
      @dcode-software  2 ปีที่แล้ว +1

      Mohsin thank you brother! That's some really kind words I appreciate it. I'm happy my videos help you out!!

    • @mohsinbashir2902
      @mohsinbashir2902 2 ปีที่แล้ว

      You're welcome bro 🙏🏽

    • @Mohamed-bu1yt
      @Mohamed-bu1yt 11 หลายเดือนก่อน +1

      your somali warya maa fintahay

    • @mohsinbashir2902
      @mohsinbashir2902 11 หลายเดือนก่อน

      @@Mohamed-bu1yt
      Haa sxb setahay

  • @amitkumargupta-
    @amitkumargupta- ปีที่แล้ว

    Congrats for 100k subs, Domenic!

  • @Guilmon-j5v
    @Guilmon-j5v 2 ปีที่แล้ว +1

    You're the best at programming. I like you so much 😎

  • @MattRx5
    @MattRx5 2 ปีที่แล้ว +1

    Perfect timing! Just had this issue when making my portfolio

  • @thanveerahmed1963
    @thanveerahmed1963 2 ปีที่แล้ว +2

    Thank you so much 💓

  • @ravisankar9122
    @ravisankar9122 8 หลายเดือนก่อน

    Thank you so much.

  • @ricardofynn
    @ricardofynn 2 ปีที่แล้ว +2

    Thanks!

    • @dcode-software
      @dcode-software  2 ปีที่แล้ว

      Sorry I missed your Super Thanks! I'm glad I could help you and thank you for your donation 😊

  • @samarthsingh673
    @samarthsingh673 2 ปีที่แล้ว

    That one I was facing issues thanks bro.

  • @judeleon8485
    @judeleon8485 2 ปีที่แล้ว

    Thanks a million Dom.

  • @balenmohammed1657
    @balenmohammed1657 2 ปีที่แล้ว

    Brilliant person

  • @yannik8271
    @yannik8271 ปีที่แล้ว +2

    Thanks for the video. Is defer the same as "DOMContentLoaded"?

  • @cassianocominetti7784
    @cassianocominetti7784 8 หลายเดือนก่อน

    Great!

  • @Vemovemo1
    @Vemovemo1 2 ปีที่แล้ว +1

    Hi! Great video, how do you execute inline js placed on a script tag on the page at the bottom, that need the defer files on the header to be loaded first? how is the order of execution and how to make shure that the defer files are loaded before execution of the bottom scripts on the page? thanks.

  • @rostyslav5334
    @rostyslav5334 2 ปีที่แล้ว

    Great thanks!

  • @arpanacharya6008
    @arpanacharya6008 2 ปีที่แล้ว +3

    Your name is DOM ?

  • @maro22saqr90
    @maro22saqr90 2 ปีที่แล้ว

    Thanks Man

  • @enthusiatic_coder6801
    @enthusiatic_coder6801 2 ปีที่แล้ว +1

    Bro could you make a video about how to create a loading section before the data from an api is rendered and render error when there is a problem with the api using fetch api with async await in react.

  • @AnandSingh-jo6gf
    @AnandSingh-jo6gf ปีที่แล้ว +1

    Does it make sense to add defer if external script is added in body?

  • @gioba4912
    @gioba4912 2 ปีที่แล้ว

    Thanks. You're the JavaScript whisper!

  • @eidenblock
    @eidenblock 2 ปีที่แล้ว

    thanks for u job

  • @nikhilrauniyar9084
    @nikhilrauniyar9084 ปีที่แล้ว

    Gonna use to forever now

  • @Medo-jr5cu
    @Medo-jr5cu 2 ปีที่แล้ว +1

    Iam egyption and iam big fan

  • @flailofthelord
    @flailofthelord ปีที่แล้ว

    3:15 for those who check comments.

  • @mohammadfaizanmateen3636
    @mohammadfaizanmateen3636 ปีที่แล้ว

    Noice