useCallback vs. useMemo

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

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

  • @JanHesters
    @JanHesters  3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน

      @@ShivamSharmabtp Very good suggestion!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน +1

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

    • @coofzilla
      @coofzilla 3 หลายเดือนก่อน

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

  • @Joe-ka
    @Joe-ka 3 หลายเดือนก่อน +1

    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  3 หลายเดือนก่อน +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 🙏

  • @eNietoM
    @eNietoM 3 หลายเดือนก่อน

    Great video! Thanks!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Glad you liked it!

  • @miteshbhagwant4615
    @miteshbhagwant4615 3 หลายเดือนก่อน +6

    Keep it up bro.

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน +1

      Thanks!

  • @creytaxx
    @creytaxx 3 หลายเดือนก่อน +2

    I want more! Subscribed!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน +1

      Thank you!
      More to come!

  • @haallefs
    @haallefs 3 หลายเดือนก่อน +1

    pure gold.

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Thank you!

  • @kaicooper9421
    @kaicooper9421 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +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 3 หลายเดือนก่อน

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

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      @@kaicooper9421 Got it! Thank you.

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

      Hi 👋
      I have released a video answering your questions about functional programming here: th-cam.com/video/xw5SJZnTWp4/w-d-xo.html

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

      @@JanHesters Thank you, I'll will most def and try to use it practically!

  • @mnk28126
    @mnk28126 3 หลายเดือนก่อน +1

    Great Video thx keep it up!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Will do, thank you!

  • @Rcls01
    @Rcls01 3 หลายเดือนก่อน

    Functions! Functions everywhere!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Needs more pure functions!!!!11

  • @langqin
    @langqin 3 หลายเดือนก่อน

    helpful!

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Glad it was helpful!

  • @GuilhermeFaxina-r5q
    @GuilhermeFaxina-r5q 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      More advanced React videos are coming soon!

  • @himanshubanate6736
    @himanshubanate6736 3 หลายเดือนก่อน

    cool content

    • @JanHesters
      @JanHesters  3 หลายเดือนก่อน

      Thank you!

  • @manojkumars995
    @manojkumars995 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +1

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