06 Virtual DOM, Fibre and reconciliation

Поділитися
Вставка
  • Опубліковано 22 сер 2023
  • Visit chaicode.com for all related materials, community help, source code etc.
    Sara code yaha milta h
    github.com/hiteshchoudhary/
    Discord pe yaha paaye jaate h:
    hitesh.ai/discord
    Instagram pe yaha paaye jaate h:
    / hiteshchoudharyofficial
  • Розваги

КОМЕНТАРІ • 843

  • @gauravbanerjee2898
    @gauravbanerjee2898 6 місяців тому +195

    Thank you so much Hitesh sir
    Here is the takeaway from the video
    /*
    1.The createRoot create's its own DOM and then compare it with the web browser's DOM and only update those components which are actually updated.
    2.But the browser removes the whole DOM and then recrates the whole DOM with the updated values this is called reload.
    3. However virtual DOM tracks whole DOM like a tree like structure and updates only those values which were only changed.
    4. But some values depends on network call so if we update a value it might get update immediately via a network call.
    5. So we will have to update it again. To avoid this overhead we can drop the updation calls for the immediate value update.
    6. The current algo used by the React is called the React Fibre algo.
    7. The algo react uses to differentiate the web browser's tree and React's tree formed through create root is called reconciliation.
    8. Reconciliation is the algo behind what popularly known as the Virtual-DOM.
    9.In UI it is not necessary for every update to be applied immediately. */

  • @vikassahani2874
    @vikassahani2874 9 місяців тому +53

    Time Stamp of the video
    0:30 ⇒ intro
    0:45-1:17⇒ kahani of Dr.
    1:36 ⇒ Virtual DOM
    1. kya abhi bhi Virtual DOM padna chhiye? ⇒ yes
    2. kya abhi bhi use hota Virtual DOM React me? ⇒ no
    3. what is reconciliation?
    4. fibre?, virtual dom
    3:00 ⇒ Article for understanding Virtual Dom
    3:15⇒ `createRoot` method of `react-dom`
    5:36 ⇒ documentation
    “react fibre” search on google
    - Virtual dom ko update karne ke liye fiber algorithm ka use hota h
    - 10:10 ⇒ Reconciliation is Virtual DOM
    - 17:30 ⇒ Fiber
    - 19:00→ Structure of a fiber will do later
    19:45 ⇒ summarizing the video

  • @navinkumarsahu1159
    @navinkumarsahu1159 10 місяців тому +118

    This series has become just like drugs it's quite addictive 🙏

  • @arunkumar7617
    @arunkumar7617 8 місяців тому +14

    Impressive. No one touch these topics in their videos. This series is a true gem.

  • @afaqahmad-ef4ky
    @afaqahmad-ef4ky 10 місяців тому +14

    Congratulations to all Indians for their landing...
    From Pakistan ❤️😊

  • @ojal.dev.
    @ojal.dev. 10 місяців тому +34

    This React Course is going to be great just like the JavaScript course.

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

    This course is immaculate, thank you sir for providing such in depth knowledge for free.

  • @Moniverma2302
    @Moniverma2302 5 місяців тому +6

    Aapke teaching pattern se esa lag rha hain hum sab bhi real world problems with solution face kr rhe hai, fresher wali feeling nahi aegi interview Dene jaege to🙏😆 thanks a lot sir

  • @rohitsahu7172
    @rohitsahu7172 4 місяці тому +2

    Your teaching style goes beyond the conventional. You don't just educate; you inspire curiosity and create a framework for effective teaching. Grateful for the unique perspective you bring to education!

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt 10 місяців тому

    Sir aap jis level ki knowledge share kar rahe hai, us level ki knowledge aur kisine kabhi nahi share kiya, Thank you so much Sirji 😊

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

    bhaiya you are best and the way you taught of us just amazing sbki jeewan me aap jese tutor honge to jeewan jeena aasan ho jayega

  • @jk-sm6qr
    @jk-sm6qr 4 місяці тому +2

    I watch this video 3 times and now understood the document easily. Thank you sir ji

  • @wasifurrahmanefaz4216
    @wasifurrahmanefaz4216 6 місяців тому +3

    Your teaching style goes beyond the conventional. You don't just educate; you inspire curiosity and create a framework for effective teaching. Every teacher should adopt your teaching approach. Grateful for the unique perspective you bring to education!
    Love form Bangladesh💝

  • @user-zs4yc2or3h
    @user-zs4yc2or3h 9 місяців тому +1

    What a great explanation. The complex document felt so simple You are great Sir

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

    Great knowledge is delivered by Hitesh Sir with so much depth.

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

    Kha tha mai etne din . web ka asli gyan to yha tha . Thanks a lot sir your teaching style makes you a great teacher.......

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

    Yes sir, You have completed your goal to create a curiosity for exploring new tech things and go into deeper level.

  • @harsh-alashi
    @harsh-alashi 10 місяців тому +10

    If all episodes would've been dropped at once, I would've binge watched this series

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

    Sir , Ek hi dil hain kitna bar jetogee! The way you refine the concepts and make ourselves confident in React that it's interesting and teaching can't be more fun than this

  • @bacchokipasand
    @bacchokipasand 5 місяців тому +2

    Sir sach mai app itne ache sai padate ho bohot acha lgta .

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

    It's your teaching skill that makes this video so interesting. Really yee to lack rupay ka course hain. Hats off ❤️

  • @satishkumar-oi3rr
    @satishkumar-oi3rr 8 місяців тому

    The explanation is too simple. Love you Hitesh Sir

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

    Sir i love how you deliver the knowledge so easily ,This is best serious on whole utube ❤❤

  • @M_Sajid3037
    @M_Sajid3037 5 місяців тому +1

    i am very thankful of god for giving opportunity to watched out these type of content on UA-cam

  • @shikharpandya4927
    @shikharpandya4927 8 місяців тому +3

    Love this react series :)
    Everything is of temporary interest on Yt but
    Hitesh sir's lectures have become permanent😇😍

  • @techieimam4491
    @techieimam4491 8 місяців тому +1

    Maine already 12 hours ke lecture dekh rakhe hai ....aur thik thak knowledge ho gae project bana ne k lye....par jab se bhaiya apka video dekha hu....React me feel aa rha hai...aur bahut saare baatein aap bata te ho Jo Mai ni janta tha.. Thanks bhaiya.... aur aapki way of talking Masha Allah lajawab hai....😀

  • @deepansh-gangwar
    @deepansh-gangwar 10 місяців тому +5

    Sir, aap programming bahut achi pdhate h you are my favorite instructor,

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

    you are the experienced teacher and your explanation is very clear

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

    sir hats of your teaching style . kya samjhate hai app maine bohot sare video dekha hai youtube pe per kahi pe bhi mujhe itna deep concept clearing video nehi mila . miane bass js complete kara tha aur react sikhne ke lia bohot sare channel dekha per samjhme kisi me nehi aya fir mujhe apka channel mila aur just boommmmm ane laga samajh me. maine to apka js wala series bhi dekhna start kar dia hai although mujhe pata hai . per iss ummed mai taki koi aur deep knowledge mil jaye. thank you sir

  • @funkyboy4882
    @funkyboy4882 5 місяців тому +1

    are sir bohooot bhadiya video tha, mai khud aur dekhunga jaake reconciliation k baare mai, aur fiber ko bhi dekhunga, thank you so much

  • @user-gg9tk5hc2h
    @user-gg9tk5hc2h Місяць тому +1

    jaise jaise m hitesh sir aap ki playlist se programming seekh rha hu i feel that i always want a teacher like you who always guide me with also a very minute details of the concepts..
    i hope that i will meet you one day

  • @abhisheknaik4885
    @abhisheknaik4885 9 місяців тому +5

    Initially I felt the Lec would be boring but later through your stories it became more interesting , Expecting the full Course❤❤❤❤

  • @mukuljain9024
    @mukuljain9024 3 місяці тому +1

    Nimbu Pani hamara bhi tayar he
    Bahut achhe se concepts pure ho rahe he confidence bhi in a good way badh raha
    Thankyou sir

  • @thecalgarians4597
    @thecalgarians4597 Місяць тому +1

    App dhanya hain Hitesh ji jo is level ka content YT pe free mein padha rahe hain. KUDOS ❤

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

    Loved the content, the quality and the way of explaining

  • @Mehak-shl
    @Mehak-shl 8 місяців тому +1

    Best guru i ever found...no need to go coaching ❤🎉

  • @hiphop861
    @hiphop861 6 місяців тому +1

    Thank you sir. I hate front end a lot. You and Code with harry are two behind my confidence. Which is getting increased day by day in the front end

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

    Story to aap ek dum ache se batate ho...😊

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

    Next level content . Thank you sir for this amazing session .

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

    I watched another tutorial on react before this but i'm was not getting confidence that I'm a react developer. Now I'm getting confidence in react. Thank you Hitesh .

  • @pratiksawant
    @pratiksawant 10 місяців тому +4

    Was waiting for this really thank you for uploading sir thanks 🙏

  • @jstar3257
    @jstar3257 8 місяців тому +1

    Understood the Concept of Virtual DOM, Reconciliation completely and get a little bit idea of Fibre as well....Thanks Sir

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

    Loved your way of teaching , how you makes concept crstal clear using a story.😌

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

    maja aagaya. Atleast after watching all the videos till here now i know what is react. Why do we use components. The use of state hook. How react actually works.

  • @avanidalal4758
    @avanidalal4758 5 місяців тому +2

    I really appreciate your efforts for this. I mostly understood the concepts the way you are explaining. Thank you so much sir

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

    Amazing way of teaching with next level of concepts.....................#Best_Series

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

    very good explaination, please keep it up. Request you to maintain this level of explanation and I really wish that this series get famous.

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

    This video is eye-opening for me! I didn't know you could learn programming this way!

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

    Sir you are literrally motivation to all of us... Hatts of to u sir... ❤

  • @binayakbidyasagar1536
    @binayakbidyasagar1536 6 місяців тому +1

    Pehli baar kisi theory/core video itne concentration se dekh raha tha. Aisa lag raha hei ye video series bht late mila mujhe.

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

    Thq sir ittni knowledge wali videos banane ke liye.

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

    Really high level content| watched the complete video and waiting for the next one | thanks for the video

  • @monsternika8873
    @monsternika8873 5 місяців тому +2

    Chai with Hitesh-Choudhary Sir is Amazing

  • @yashaswiverma3316
    @yashaswiverma3316 17 днів тому +1

    fav teacher and coder❤

  • @TirthPrajapati-by9mu
    @TirthPrajapati-by9mu 10 місяців тому

    Thank you sirji the way your are explaining the react concepts is fantastic ❤❤❤

  • @user-wy1ot5gz1f
    @user-wy1ot5gz1f 16 днів тому

    Thanks sir so much
    1. re-rendering : it the process of updating virtual DOM or the tree
    2. diffing algo: Algo created by react developers to only update the neccesary part of the tree
    3.Reconcillation: diffing + re-rendering

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

    OP sir, there is only one teacher on UA-cam and that is you sir, rest all are just content creators.

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

    This video is worth every second.

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

    Sir ek second bhi bore nahi laga itne dhyan se to me movie nahi dekhta sir just amazing work sir So addictive Series In whole UA-cam🙏.

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

    Boht Shukriya Hitesh Bhai! Love from Karachi, Pakistan ❤❤

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

    One of the best teachers in the world .
    Thanks hitesh bhaiya❤

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

    this video was not useful as coding wise but definitely increased my knowledge as i never heard about fibre from any tutorials . thankyou for updating about it.

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

    Guruji app jesa koi nahi. I really appreciate your effort for making such content from my heart. Really loved it sirji lots of love. Hope we will meet someday.

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

    Sir next level knowledge you are providing us. You are creating excitement regarding code, library, inner workings.

  • @Peaceful_mind949
    @Peaceful_mind949 5 місяців тому +2

    Kya hi sir , aapne to mereko aisa bna diya h ki jbtk ye neend nhi aati tbtk bs ye playlist chlti rhti
    maine phle bhi ek bar react pdha pr chodh diya pr is itni aasan lg rhi mja aa rha pdhne me

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

    Sir thank you ❤ aap best ho jo bhi sikhate ho best in industry

  • @akashchauhan3989
    @akashchauhan3989 9 місяців тому +1

    This series gonna break all records on UA-cam

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

    Sir, at the beginning of the video, you mentioned that it would be boring, but I didn't even realize when the video ended.💯

  • @PriyaSingh-bq8sp
    @PriyaSingh-bq8sp Місяць тому

    Very helpful video, Thankyou @Hitesh Sir

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

    This series gonna break all records on UA-cam 🔥🔥🔥

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

    i dont any word for this series as well as hitesh sir

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

    Thank you Hitesh sir for providing this content

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

    one of the best video about react fibre on youtube ...😍

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

    You are good, makes me want to watch more. you present in a very interesting way.

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

    Great work! Thanks for all the hard work!

  • @nehakaler6677
    @nehakaler6677 13 днів тому

    Completed with 6th lecture. Thankyou Sir for this wonderful lecture. Loving the series.

  • @SumitKumar-nd1nd
    @SumitKumar-nd1nd 10 місяців тому +1

    I'm already watched Akshay Saini's React series, but you are a real GOAT of web dev.

  • @gauravsrivastava17
    @gauravsrivastava17 4 місяці тому +1

    New and Interesting concepts never heard before
    Thank you Sir for sharing your lvl of experience with us ❤

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

    21:10 sir till today, I never see this much level of content on youtube. Salue to you sir 💟

  • @yashagrawal9621
    @yashagrawal9621 19 днів тому

    The knowledge gain after watching Hitesh sir's any video is just tremendous and mesmerizing.
    Hats off to sir's hard efforts and crazy experience.

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

    🔥This series is a Goldmine for learning react.

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

    Very nice and informative video on the fibre, virtual dom and reconciliation. Thanks

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

    amazing sir big fan since 4 years

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

    Ab fir agale din yah wapis dekhunga
    You are the best

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

    this series will be greatest series of all time

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

    Maza agya in-depth knowledge jaan ke

  • @MrHARRY-qh8rs
    @MrHARRY-qh8rs 10 місяців тому +1

    Love this series ❤.

  • @Mojo_._Jojo
    @Mojo_._Jojo 9 місяців тому

    Great video , learned a lot about Fibre and reconciliation

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

    sir you are best teacher in tech field

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

    Best video until now !!!

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

    With every vdo my react concepts getting more xlear thanks a ton to the legend

  • @hiteshmaurya_
    @hiteshmaurya_ 4 місяці тому +1

    Thank you sir for this in depth knowledge.

  • @sandboxop
    @sandboxop 3 місяці тому +1

    Thanks for the amazing content ,,,,, i have brough the course of harkarit singh 0-100 its a great course but i feel like i was not able to understand the react part so i saw your playlist on youtube and trust me i your course is 1000x better than the 99% of courses out there... LOTS OF LOVE FORM MY SIDE.

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

    It is very beneficial to the audiance who learn on the you tube. Thank you so much

  • @aashishrai1138
    @aashishrai1138 9 місяців тому +1

    Sir aap Top Ho hum sab web students ki hope ho 😊

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

    amazing explanation by Sir Hitesh

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

    This help clearing all those complex concepts...🎉

  • @nitishrajbongshi9311
    @nitishrajbongshi9311 10 місяців тому +9

    The differentiation algorithm compare two trees, one is the main DOM tree of the browser and the second one is the react tree created by the createRoot.

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

      doesn't react itself keeps two trees one as old dom tree and one as current work in progress tree and compares both of em , and then later this changes are rendered on browser in real dom.

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

      ​@@abhinavgupta4866that old dom tree is the reference of browsers dom i think

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

      i have read it it differentiate current virtual dom with previous virtual dom and then updates them into new virtual dom and then using diffing algorith changes part of original dom

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

    Best series till now❤

  • @UAkash-kp9pp
    @UAkash-kp9pp 4 місяці тому

    really appreciable content sirr..Thank youu