Intro to re-renders - Advanced React Course, Episode1

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 104

  • @eminvesting
    @eminvesting 10 місяців тому +33

    Your content is the best on the platform so far when it comes to Advanced React patterns, keep it up you are awesome ❤

  • @michaelscofield2469
    @michaelscofield2469 10 місяців тому +8

    Hello Nadia, nowadays people prefer to watch video tutorials instead of reading books, nice choice

  • @isurujn
    @isurujn 10 місяців тому +3

    I'm not even a front-end developer but I just came across this video and I must say, this is so well done. I do mobile development and we have declarative frameworks becoming popular like Flutter, React Native. I think these concepts still apply so it was definitely a worthy watch.

  • @mostinho7
    @mostinho7 2 місяці тому +1

    Done thanks!
    When a react component n rerender due to a state update, all the child components defined in it will rerender by default. So you should move state down when possible to be specific to the component that needs to rerendered to avoid rerendering other components that don’t rely on this state variable

  • @dineshreddy8915
    @dineshreddy8915 11 днів тому +2

    👍excellent content

  • @drrodopszin
    @drrodopszin 2 місяці тому

    I have subconsciously moved the state down many times when I was implementing Add/Delete buttons; it just felt natural to move out all that fetch logic into its own tidy component, but now I will be doing it consciously.

  • @mustafasavul
    @mustafasavul 8 місяців тому +2

    Hello, I bought your book and after reading the chapters, it's quite interesting to come to youtube and watch short videos related to that chapter.
    Thank you for preparing such an instructive resource.

  • @mariolazzari
    @mariolazzari 2 місяці тому

    Brillant! This is NOT the usual React course you can find in many other places (with all due respect speaking): this is a pure gem!

  • @serhiiway
    @serhiiway 10 місяців тому +1

    Bought the book and looking forward to your videos! Aside from the React official documentation you are the first resource I like to read :D

  • @kenanhaciyev3759
    @kenanhaciyev3759 15 годин тому

    wow, interesting way to learning

  • @dailydose7772
    @dailydose7772 9 місяців тому

    Just amazing. Please please more videos. Trust me.... I've seen almost every online code tutor and you're up there with the best.... quit your day job and do this full time.

  • @Itaysid
    @Itaysid 10 місяців тому +1

    Excellent explanation of complex react stuff, your content is super high quality. Hope to see more videos like this one. thank you very much Nadia 😊

    • @developerwaypatterns
      @developerwaypatterns  10 місяців тому

      Thank you! More videos like this is the goal for the next few months 😊

  • @esrafilelahi5733
    @esrafilelahi5733 10 місяців тому +1

    you have all of us supports, keep continue nadia

  • @stilltrippin4687
    @stilltrippin4687 5 місяців тому

    This course is underrated. Keep up the good work

  • @sky_kryst
    @sky_kryst 7 місяців тому +2

    Amazing piece of knowledge. Thank you!

  • @AdeyemiSoMo
    @AdeyemiSoMo 10 місяців тому +1

    Thanks for making the effort to turn the book into videos.
    I got the book but I will say i would love because of it is a quick go-to

  • @devquen37
    @devquen37 9 місяців тому

    "wow" this is an idea I screamed after watching this video. So, I think this is a quality series about react i knew. tks for excellent explanation, Nadia, keep it up 💪

  • @UmairSadaqat
    @UmairSadaqat 9 місяців тому +7

    In React, it's common practice to use logic in the parent component to facilitate its easy pass into child components. Additionally, when opening a dialog, we require other components. To avoid repeatedly using components in child components, we employ this approach. However, if we use this behavior, React rerenders due to a state change in the parent component. Therefore, we utilize memoization to store the state value and address the issue of excessive rerendering.

  • @JMAguero-fn8du
    @JMAguero-fn8du 4 місяці тому

    Thank you very much!
    Love to have this kind of materials available!

  • @anirudhnomula2942
    @anirudhnomula2942 3 місяці тому

    U need a million subs for the amazing content reality love the quality tq for all ur efforts

  • @mohammadmasumkhandaker3887
    @mohammadmasumkhandaker3887 10 місяців тому

    Another Worth it content!! Heartiest Love from myside ❤ and wait for your next episode.

  • @mj2068
    @mj2068 3 місяці тому

    thank you very very much for this.

  • @adityatiwari811
    @adityatiwari811 10 місяців тому

    I've learnt a bunch from your articles. I'm looking forward to this course, really.

  • @saheeldas5205
    @saheeldas5205 Місяць тому

    Great content 🤝

  • @Trek_Tales
    @Trek_Tales 9 місяців тому

    "Wow, this video is fantastic! The content on React is explained so clearly, and I've learned a lot. Thank you for putting together such an informative and engaging video. Keep up the great work!"🙏

  • @user-gc2df1mn8v
    @user-gc2df1mn8v 7 місяців тому

    Thank you so much for this course. There are really very few advanced level courses online. I want to suggest the idea of creating a course on how to build your own mini React. That would be super cool!

  • @yashpreetbathla4653
    @yashpreetbathla4653 9 місяців тому

    Your content is top notch i just realised you are making videos out of your own book 😻! Truly appreciate the effort thank you!

  • @shasheeshpurohit
    @shasheeshpurohit 10 місяців тому +2

    Very clear and to the point, looking forward to the next videos !

  • @mehdichamiani6838
    @mehdichamiani6838 10 місяців тому

    Great Nadia, so pleases to see you wanna release a course, great choice ❤

  • @migueljara9399
    @migueljara9399 9 місяців тому

    This is awesome, I didn't know that I knew so many things wrong!

  • @nehat786
    @nehat786 3 місяці тому

    Awesome!

  • @umutpalabyk9834
    @umutpalabyk9834 9 місяців тому

    You are amazing Nadia. Thanks for content.

  • @masterchief5437
    @masterchief5437 4 місяці тому

    Thanks for this its good to visualize things

  • @pritamchakroborty9924
    @pritamchakroborty9924 10 місяців тому

    Waiting for the other episodes 🔥

  • @remnantkevin
    @remnantkevin 9 місяців тому

    Thank you for this -- the concepts are explained very clearly, and the examples and illustrations help a lot 😁

  • @chandanbanerjee3721
    @chandanbanerjee3721 29 днів тому

    very good

  • @david3370
    @david3370 7 місяців тому

    Thank you for this video! very easy to follow along!

  • @2kabhishek
    @2kabhishek 9 місяців тому

    This was very well explained, love the cute cats btw :D Thanks for sharing!

  • @XZivXL
    @XZivXL 10 місяців тому

    Very clear and simple to understand, thank you!

  • @TheSldsnake
    @TheSldsnake 6 місяців тому

    I really love the book

  • @sanyamjain7058
    @sanyamjain7058 9 місяців тому

    I love your explanation, keep going on ❤

  • @mohanant7557
    @mohanant7557 10 місяців тому

    awesome 1st episode and excited for the second!

  • @xczm225
    @xczm225 9 місяців тому

    like for sure!

  • @mtsoul9834
    @mtsoul9834 9 місяців тому

    love it

  • @kekefkekef1
    @kekefkekef1 10 місяців тому

    Thanks for the work and for make it so clear 👏

  • @gauthamvijayan
    @gauthamvijayan 10 місяців тому

    Superb content and nicely done!

  • @shrekpar
    @shrekpar 10 місяців тому

    Thanks for your work!

  • @divodivnoe
    @divodivnoe 4 місяці тому

    Thank you! Top content

  • @aeldarets
    @aeldarets 3 місяці тому

    This is gold

  • @velkb228
    @velkb228 6 місяців тому

    Great content, thanks

  • @melon5063
    @melon5063 10 місяців тому

    great video, this made me get the book

  • @shankar99977
    @shankar99977 9 місяців тому

    I love that cat with hat represents re-render😂😂❤

  • @filipvasiljevic8837
    @filipvasiljevic8837 9 місяців тому

    very informative!

  • @omak3313
    @omak3313 2 місяці тому +1

    Спасибо! Очень полезно! Будет обновление курса и книги после релиза React 19? Собираюсь купить вашу книгу)

  • @niteshrathore4341
    @niteshrathore4341 2 місяці тому

    There is one catch here if i want to open that model in app component then i need to state then only i can open the model and state change will cause the re-render of other component

  • @deathineyes
    @deathineyes 9 місяців тому

    Nice video

  • @CrusaderMen
    @CrusaderMen 9 місяців тому

    Thank you

  • @budiman-kr5ug
    @budiman-kr5ug 9 місяців тому

    What a great content

  • @aminda6862
    @aminda6862 10 місяців тому

    thanks a lot

  • @vekaev
    @vekaev 9 місяців тому

    очень круто
    пожалуйста продолжай!!

  • @loopymccoy
    @loopymccoy 9 місяців тому

    Hey, nice video. I'm all up for moving state down, it's a very simple solution, as you said.
    So what would you prefer, moving state down, or just using .memo() to each component in your App() component?

    • @developerwaypatterns
      @developerwaypatterns  9 місяців тому

      I always prefer composition techniques before using memoization

  • @dovahkiin3362
    @dovahkiin3362 10 місяців тому

    Love the content :D

  • @LucasFariaDev
    @LucasFariaDev 9 місяців тому

    Hi Nadia, thanks for the great video (yet again).
    One question, since I also didn't find a specific section about that in the book: what are your go-to tools to actually profile an existing React application? And how do you use them?

    • @developerwaypatterns
      @developerwaypatterns  9 місяців тому

      Just Chrome devtools and React profiler, I don't use anything special, and most of the time prefer simple console.log :)

  • @SachinYadav-yx1rc
    @SachinYadav-yx1rc 10 місяців тому

    Hello Nadia nice video I have a question though, what if the button that is used to trigger the modal is in some different component then how will we extract it into a separate isolated component ?

    • @developerwaypatterns
      @developerwaypatterns  10 місяців тому

      That really depends on how all of this is coded in your case :)
      Do you have an example you can reproduce in codesandbox?

  • @raminkhodaie4063
    @raminkhodaie4063 Місяць тому

    What if I set the open modal flag in a global state such as zustand? does the App component will rerendered in this case too?

  • @KOT_B_CTAKAHE
    @KOT_B_CTAKAHE 10 місяців тому

    В видео материал который уже был, дальше тоже будет старый переработанный или уже новые темы ?) А так статьи и канал огонь !))

    • @developerwaypatterns
      @developerwaypatterns  10 місяців тому

      It will follow the book's content for now. So there will be some new material, and some old re-worked. Table of content is here: advanced-react.com/#toc

  • @heyjitendra
    @heyjitendra 9 місяців тому

    Wow

  • @florenciobritez5521
    @florenciobritez5521 2 місяці тому

    When the App component rerenders at 3:23 it will run each child component again but will only update the DOM when the execution of all the children has finished, right? @developerwaypatterns
    🤔

    • @developerwaypatterns
      @developerwaypatterns  2 місяці тому +1

      Yep, unless you're doing something async there in useeffect IIRC

    • @florenciobritez5521
      @florenciobritez5521 2 місяці тому

      @@developerwaypatterns Thank you for responding and for sharing your knowledge with us!

  • @ikbo
    @ikbo 8 місяців тому

    Does this book go into react server components and/or next.js?

    • @developerwaypatterns
      @developerwaypatterns  8 місяців тому

      No and no, it focuses on React fundamentals that are not experimental or separate frameworks.

  • @odanabunaga2505
    @odanabunaga2505 10 місяців тому

    супер!

  • @gg.cip0t
    @gg.cip0t 10 місяців тому

    hello, i want to ask, i am in my learning phase, i have seen using redux using typical manner i.e making actionCreators in action folder and reducers in another, but now i have seen thatit was different. they are using something called pipe() and mergeMap() functions and also they used customHooks for the actions, and i am seeing different approach like passing action$ as argument.

    • @developerwaypatterns
      @developerwaypatterns  9 місяців тому

      Not sure what the question is :)

    • @gg.cip0t
      @gg.cip0t 9 місяців тому

      @@developerwaypatterns i wanted to ask if we can get video on this topic... "redux"..

    • @developerwaypatterns
      @developerwaypatterns  9 місяців тому +2

      Ah! Maybe in the future, I have this topic on my todo list

  • @esrafilelahi5733
    @esrafilelahi5733 10 місяців тому

    Unfortunately, I am from Iran and I can't buy the book with Iranian currency :(

  • @mrlectus
    @mrlectus 10 місяців тому

    so basically, every component should manage its own state?

    • @developerwaypatterns
      @developerwaypatterns  10 місяців тому +2

      not necessarily, more like "split huge components into smaller components" if you want to reduce it to one sentense

  • @Matter743
    @Matter743 7 місяців тому

    you haven't created any other courses?

  • @behramjabbarov55
    @behramjabbarov55 10 місяців тому

    All this time i do believe that props change will cause rerender

  • @PrMovies0
    @PrMovies0 6 місяців тому

    Please the voice quality sis

  • @GROW_YT_VIEWS_97
    @GROW_YT_VIEWS_97 10 місяців тому

    Why don't people pay more attention to this??

  • @korkut31
    @korkut31 6 місяців тому

    heavy accent. hard to understand.