Avoid This Common React Mistake Newbies Make

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • Topics Covered:
    What is an event?
    How are event handlers typically passed?
    Calling a function rather than passing a reference to a function
    But what if you need to pass arguments?
    When possible, I like creating functions outside of the component so I can test them a bit easier via exports

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

  • @gobifrontend
    @gobifrontend 2 วันที่ผ่านมา +1

    The explanation is quite clean and simple.

    • @coderyan
      @coderyan  วันที่ผ่านมา

      Thanks!

  • @Jaycoda10
    @Jaycoda10 ชั่วโมงที่ผ่านมา

    Another awesome video! The brilliant recap really helps solidify the learning process for me.

    • @coderyan
      @coderyan  ชั่วโมงที่ผ่านมา

      Happy it helped!

  • @smithdoesstuff
    @smithdoesstuff วันที่ผ่านมา

    Did you delete a criticizing comment about the length of the video and making watchers wait for the lone tip? It shows in one interface element but it’s missing from another.

    • @coderyan
      @coderyan  วันที่ผ่านมา +1

      I have received comments like this where comments are shown on one interface and not another. I think somewhere in my settings it’s set where comments can be automatically hidden.
      Generally, I try not to remove comments if they’re constructive, and not just rude. For this particular video, I do see a comment criticizing length in my studio settings, but I also see that it's not displayed here on the video within TH-cam desktop. I removed the comment from my notifications in TH-cam studio, as I did find it a little rude and I wasn't going to respond to it, but it wasn't my intention to completely remove the comment altogether
      But I have probably removed comments too quickly in the past, though, as I really am trying to just help people out with this channel and have the channel be an overall positive place. On digital platforms, it can also sometimes be difficult to tell if someone’s trying to be helpful or if they’re just trying to be rude.