Do not render your component thousands of times - Real life Usage of React Memo

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • NOTE: IF YOU ARE WATCHING THIS VIDEO AFTER THE END OF 2024 THIS MAY BE OBSOLETE.
    NOTE 2: React team said by the end of 2024, memo will be removed.
    More info:
    / 1758229889595977824
    react.dev/blog...
    In this video I have talked about Plate js which is an open source rich text editor that I have added into my client's project to support adding images into sticky notes.
    A little bit about mono repos.
    Finally, the main reason I have recorded this video, how using React memo will save your project.
    1:23 - project intro
    2:45 - plate js vs tiptap
    3:14 - problem
    5:24 - debugging
    7:00 - outro, upwork, freelancing etc.

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

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

    Missed your content! In the last developments I've done I avoid ReactMemo because it will be discontinued in React 19, do you believe it will make the same sense to apply this approach?

    • @ugurcodes
      @ugurcodes  4 месяца назад

      It's nice to see you Pedro! thx :) Yes, you are right. By the end of 2024, few API's going to be shifted into react compiler, useMemo, useCallback, memo..
      I don't think migrating react 18 to 19 will be hard. I feel like removing "memo" from my component will be enough :D
      In my case using "memo" was totally necessary

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

    videos on freelancing would be amazing, I have been doing react and next js development for a while now and would like to try to do freelancing

  • @laksjfalskfjl1kj234i1ojo
    @laksjfalskfjl1kj234i1ojo 4 месяца назад

    Please do freelancing stuff. Maybe talk about minimum requirements to start freelancing, how to find clients, and project workflow in terms in dealing with clients.

  • @prashlovessamosa
    @prashlovessamosa 3 месяца назад

    Thanks

  • @siddharthamishra9665
    @siddharthamishra9665 4 месяца назад

    Thanks ugur for sharing this...I have developing in react since past 7 months...but never understood where is memo..actually used...

  • @kedywd
    @kedywd 4 месяца назад

    here is the god of js

  • @muefdo
    @muefdo 4 месяца назад

    Great video! Very easy to understand.

  • @esraylmaz5645
    @esraylmaz5645 4 месяца назад

    Missed your videos! It is useful thank you

  • @farkaszoli9883
    @farkaszoli9883 4 месяца назад

    Hey!
    Might not be related to this topic, but can you do an extra video for the lucia auth tutorial series, implementing 2FA using Google Authenticator or other 2FA auth apps?
    Thank you very much!