Optimizing Lists in React - Solving Performance Problems and Anti-Patterns

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

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

  • @FedericoTerzi
    @FedericoTerzi  2 года назад +2

    If you are interested in these topics, you can also follow me on Twitter :) twitter.com/terzi_federico

    • @Filmaker25
      @Filmaker25 Год назад

      I have stupid question : what is an antipattern?

  • @JagaSantagostino
    @JagaSantagostino 2 года назад +2

    Love that you showed the downsides and antipatterns 👏

  • @TwinsenDude
    @TwinsenDude Год назад

    This is fantastic, thank you. So many other videos just talk about the basics of how to make a list and such and don't go into how to solve these performance problems. Thanks again

  • @gruntmasta
    @gruntmasta Год назад

    Such an insanely detailed video. Really appreciate all of the examples and incremental steps that show how to get out of the anti patterns

  • @vikranthkanumuru8900
    @vikranthkanumuru8900 2 года назад +1

    Phenominal video!! I never thought of using the Profiler for optimization until your video and learned many more things. Thanks a bunch

  • @Mal-nf2sp
    @Mal-nf2sp 2 года назад +2

    Glad you are back!

  • @spokejp
    @spokejp Год назад +1

    Why this video has only 193 likes? Thanks for this.

  • @milocookieXD
    @milocookieXD 2 года назад +2

    Very informative video! This deserves more views

  • @AshtonMotana
    @AshtonMotana 9 месяцев назад

    I already solved the problems of lists. My own approach is no libraries, no borrowed code, 20kb file, reusable and awesome.

  • @tabliqatchi6696
    @tabliqatchi6696 Год назад

    Federico, I'm literally amazed by your teaching! Definitely the most underrated React video I've ever seen on RUclips.
    Please keep making more of such videos, I've not only subscribed to your RUclips channel, but also to your RUclips's RSS feed not to lose any of your content.
    You started with problematic code, then talked about solutions and divided them into anti patterns and patterns, and explained all of them very well. I also learned a new thing about the profiler. All in all, I hereby declare myself as your new fan :)
    Also about the final challenge (the missing useMemo) I'm on mobile right now, but I'll check if I remember when I'm on PC. 👍
    I also have a question by the way, what if instead of "mutating" items of the current list, a new item is supposed to be "added" to the list? E.g., in this same example, adding the 1001st item. Will it still be optimizable?

    • @FedericoTerzi
      @FedericoTerzi  Год назад +1

      Thanks! Yes, it should still be optimizable :)

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

    thank you

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

    +1 sub. Great content man 👏

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

    upload regularly .

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

    Hello
    I want to ask you about espanso.
    I'm sorry because it's not about this video' topic.
    How to replace text with parameter in espanso 0.7.3, I tried my best to do it, but I can't.
    Ex : if I type ::john::. it will be "Good Morning, John!".
    Have a good day!

    • @FedericoTerzi
      @FedericoTerzi  2 года назад +1

      Hey,
      You'll need the Regex triggers, which are available in version 2 :) See: github.com/federico-terzi/espanso/issues/594#issuecomment-939329339

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

      @@FedericoTerzi Thank you

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

    Good content. But why do you have the same repetitive music in the background? It's very distracting.

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

    Is it good to pursue ms in computer science from italy

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

      It depends on your goals :) I personally enjoyed the experience

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

      @@FedericoTerzi my goal is to study and settle in italy

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

      Then it sounds like a good choice :)

  • @mohanbhonu
    @mohanbhonu Год назад

    brother, can you please explain one example in react class component