useCallback vs. useMemo

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

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

  • @JanHesters
    @JanHesters  2 месяца назад +5

    Hope you found this video helpful!
    What topic would you like to learn next? Drop it in the comments below and I might make a video about it!
    Also, visit reactsquad.io/ now and hire your next senior React developer today!

    • @coofzilla
      @coofzilla 2 месяца назад +2

      I'd love to see how you'd create a data table using onLayout to dynamically adjust the widths so that each column is the same.
      I had to use useState, useRef, and more.The performance is terrible lol and im sure it can be done better.
      Also AMAZING video, great explanation!!

    • @ShivamSharmabtp
      @ShivamSharmabtp 2 месяца назад +2

      A video about react re-rendering. How and when react re-renders component (include redux cases as well). what are good and bad practices to prevent unnecesary re-renderings.

    • @JanHesters
      @JanHesters  2 месяца назад

      @@ShivamSharmabtp Very good suggestion!

    • @JanHesters
      @JanHesters  2 месяца назад +1

      @@coofzilla Datatables in general could be a good topic!

    • @coofzilla
      @coofzilla 2 месяца назад

      @@JanHesters yes, please more content. it's so hard finding high quality content these days.

  • @kaicooper9421
    @kaicooper9421 2 месяца назад +4

    I hope you can do one on callback functions. I have hard figuring when I should use them and what I'm really doing with them. And Another one with currying. You're filter with currying is great and I'd like to know them better as well

    • @JanHesters
      @JanHesters  2 месяца назад +1

      Will gladly do one on currying.
      Could you please clarify what you mean with callback functions? You mean in the context of React? Or also on the server?

    • @kaicooper9421
      @kaicooper9421 2 месяца назад

      @@JanHesters what's the purpose, when should i use them, why would i use them?

    • @JanHesters
      @JanHesters  2 месяца назад

      @@kaicooper9421 Got it! Thank you.

  • @miteshbhagwant4615
    @miteshbhagwant4615 2 месяца назад +6

    Keep it up bro.

  • @Joe-ka
    @Joe-ka Месяц назад

    Wow, i have been watching react videos three years now, and this is the first time someone explain how things actually work in the right terms and words, I learned a lot of things from this video other than useCallback and useMemo (will watch the video few times just to memorize everything).
    please please always be like that, we don't need other youtuber who only reads obvious examples.

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

      Thank you very much!
      Stay tuned for a future video about higher-order components, which breaks them down in detail.
      And if you have any topic that interests you, kindly let me know 🙏

  • @creytaxx
    @creytaxx 2 месяца назад +2

    I want more! Subscribed!

    • @JanHesters
      @JanHesters  2 месяца назад +1

      Thank you!
      More to come!

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

    Great video! Thanks!

  • @mnk28126
    @mnk28126 2 месяца назад +1

    Great Video thx keep it up!

  • @haallefs
    @haallefs 2 месяца назад +1

    pure gold.

  • @himanshubanate6736
    @himanshubanate6736 2 месяца назад

    cool content

  • @Rcls01
    @Rcls01 2 месяца назад

    Functions! Functions everywhere!

    • @JanHesters
      @JanHesters  2 месяца назад

      Needs more pure functions!!!!11

  • @user-tq7vs1dp2u
    @user-tq7vs1dp2u 2 месяца назад

    please talk more about react in that deep way, can be anything, but i have especially interest in how it works under the hood, fiber, reconciliation algorithm and so on

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

      More advanced React videos are coming soon!

  • @langqin
    @langqin 2 месяца назад

    helpful!

  • @manojkumars995
    @manojkumars995 2 месяца назад

    Great content but the variable names are a bit confusing, try to use different names so that it's easy for us to distinguish between them.

    • @JanHesters
      @JanHesters  2 месяца назад +1

      Very good feedback and absolutely true - thank you!
      Next videos will use clear names.

  • @RegalWK
    @RegalWK 2 месяца назад +1

    Great content!