The Magic of React's Reconciliation: Behind the Scenes with a Microsoft Frontend Developer

Sdílet
Vložit
  • čas přidán 18. 03. 2023
  • In this video, we look into the famous reconciliation algorithm that separates React from the rest of the frameworks.
    Here are the references used for the video:
    legacy.reactjs.org/docs/faq-i...
    legacy.reactjs.org/docs/recon...
    If you liked this video, check out my whole React playlist here:
    • React concepts illustr...
    If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newsletter:
    codesketched.substack.com/
    Codesketched site:
    www.codesketched.com/
    More info about me:
    www.kapeelkokane.com/
    Background music used in this video 👇🏾
    --------------------------------------------------------------
    ♪ Onion (Prod. by Lukrembo)
    Link : • (no copyright music) l...
    --------------------------------------------------------------

Komentáře • 39

  • @sayurikamble825
    @sayurikamble825 Před 5 měsíci

    Best! Would love to see more & more videos from you.

  • @srsrajesh8385
    @srsrajesh8385 Před 7 měsíci

    Thank you for this amazing content 😃

  • @GVenkataKousik
    @GVenkataKousik Před 9 měsíci +1

    Excellent brother you nailed it!

  • @chrisschuller7055
    @chrisschuller7055 Před 8 měsíci +3

    Very good video! Especially the last part about keys was eye-opening! 🎉 Keep it up!

  • @nightmare-9467
    @nightmare-9467 Před 4 měsíci

    I love your ability to explain simply, you sincerely helped me a lot, sir. Thank you!!

    • @CodeSketched
      @CodeSketched  Před 4 měsíci

      Thanks a lot for the kind works. Glad it helped you.

  • @saifullahkhan3776
    @saifullahkhan3776 Před 10 měsíci +3

    What an explanation !!!!!!......Huge respect...............You literally did the post-mortem.......Thank you...subscribed❣

    • @CodeSketched
      @CodeSketched  Před 10 měsíci

      Thanks a lot. Glad you liked it. Please share with others.

  • @Ari-uw1io
    @Ari-uw1io Před měsícem

    Great Explanation !

  • @hersheynaik3029
    @hersheynaik3029 Před 10 měsíci +1

    Beautiful explanation. Subscribed!!

    • @CodeSketched
      @CodeSketched  Před 10 měsíci

      Thanks. Please share with others who might find it interesting :)

  • @basharath
    @basharath Před rokem +3

    Great explanation, Kapeel 👏

  • @himanshujain6292
    @himanshujain6292 Před rokem +1

    Good explanation

  • @Isagi__000
    @Isagi__000 Před měsícem

    That's a hella good explination man.

  • @raghuraghav6636
    @raghuraghav6636 Před 7 měsíci +1

    Now, I got to know why we need to pass keys. Thank you brother and keep coming up with these type of content.

  • @chennasreenu4723
    @chennasreenu4723 Před 6 měsíci

    Love You BOSS....

  • @varchasavkumar4358
    @varchasavkumar4358 Před rokem

    greattttttttttttttttt explanation

    • @CodeSketched
      @CodeSketched  Před rokem

      Thanks a lot. Glad you liked it. Do share with others and help the channel :)

  • @artahir123
    @artahir123 Před 4 měsíci

    const [count, setCount] = React.useState(0);
    this line is runned every time when Counter function is called ?
    every time new variable is created count, setCount and gets the current state
    and that callback respectively ?

  • @balabuyew
    @balabuyew Před 4 měsíci

    The most interesting case, where keyed and not keyed children are mixed (and may be even moved around), is not described.

  • @AbhishekBhandari-om9hu
    @AbhishekBhandari-om9hu Před 11 měsíci

    great

  • @viratpatil
    @viratpatil Před 5 měsíci

    I have quick question on this
    so when we say comparison do we really compare with real dom with virtual dom or we compare previous state of real dom..?

    • @CodeSketched
      @CodeSketched  Před 5 měsíci

      Until the DOM updates, there is no previous state. Just one state that the DOM exists in. And that is what the virtual DOM is compared with.

    • @viratpatil
      @viratpatil Před 5 měsíci

      @@CodeSketched So are you saying we always compare virtual dom to real dom ?

    • @artahir123
      @artahir123 Před 4 měsíci

      isnot the update VDOM compared with the previous VDOM ?

  • @sreelakshmij189
    @sreelakshmij189 Před 8 měsíci

    one doubt, you told virtual dom will b stored in memory and will b compared with actual dom.here where do actual dom is stored is it the browser's space where we inspect and check the dom tree?

    • @CodeSketched
      @CodeSketched  Před 8 měsíci

      Hey, good question. The React framework has access to the virtual DOM that is stored in memory and also has access to the actual DOM via the APIs provided by the browser.

    • @artahir123
      @artahir123 Před 4 měsíci

      all things are stored in computer's memory.........

  • @sourabhsemalty9016
    @sourabhsemalty9016 Před 10 měsíci +1

    Fiber....

    • @CodeSketched
      @CodeSketched  Před 10 měsíci

      The answer to all the questions in the universe 😁

  • @ADayWithDev
    @ADayWithDev Před rokem

    it will be more good if you explain this in hindi