How Does React Actually Work? React.js Deep Dive #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 มิ.ย. 2024
  • Have you ever wondered, how does React actually work? In this video, we will explore what is really happening behind the scenes. First, we will learn about React elements, components and component instances. Then, we will move to React Reconciliation along with the Diffing algorithm, which is the very core of React. Afterwards, we will move to rendering and to the renderers themselves, looking specifically at React DOM. Finally, we will learn about the ways React communicates with the renderers.
    Timestamps:
    0:00 Introduction
    0:35 React components, elements and component instances
    5:34 Reconciliation
    7:11 The Diffing algorithm
    11:00 Rendering
    12:23 How React communicates with the renderers
    14:12 Ending
    Notes:
    Check what is happening behind the scenes: babeljs.io/repl
    The $$typeof property: overreacted.io/why-do-react-e...
    Create your own renderer: reactjs.org/docs/test-rendere...
    Social Media:
    ►Twitter: / philip_fabianek
    ►LinkedIn: / philip-fabianek
    ►Website: www.philipfabianek.com
    ►GitHub: github.com/philipfabianek
    Music:
    Lodhi by Pali Gap / pali_gap​
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/lodhi-pali-gap​
    Music promoted by Audio Library • Lodhi - Pali Gap (No C... ​
    Lights Of Elysium - AERØHEAD / aerohead​
    Creative Commons - Attribution-ShareAlike 3.0 Unported - CC BY-SA 3.0
    Free Download / Stream: bit.ly/lights-of-elysium​
    Music promoted by Audio Library • Lights Of Elysium - AE...
    Solace by Nomyn / nomyn​
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/SolaceNomyn​
    Music promoted by Audio Library • Solace - Nomyn (No Cop... ​
    #ReactJS #ReactDeepDive
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 252

  • @TheZayzoo
    @TheZayzoo ปีที่แล้ว +40

    This video made me realize that I'm standing on the shoulders of giants whenever I'm developing in React. Facebook devs are magicians

  • @zahidshaikh3122
    @zahidshaikh3122 4 หลายเดือนก่อน +3

    Before this, I was working BLINDLY on React and any other library or framework that is out their. This very content opened my EYES 👀.

  • @ffking1357b
    @ffking1357b 2 ปีที่แล้ว +121

    Great content! I think this is the only video available in youtube that talks about the React principle and at the same time is friendly to beginners. Keep up the good work. The video serves really well for people who wanna dive into the source code of React while have no idea where to start.

  • @StatisticsTheory
    @StatisticsTheory 8 หลายเดือนก่อน +2

    Finally! I've been looking for this series for the past week. Great stuff Philip 😁

  • @Aliena92
    @Aliena92 ปีที่แล้ว +3

    I wasn't expecting the background music. Probably the first coding tutorial with music. Worked like magic. Thank you :)

  • @tylermyers8735
    @tylermyers8735 ปีที่แล้ว +3

    10/10. So well done can't wait to watch the rest of this series, bravo.

  • @christianolsson8644
    @christianolsson8644 10 หลายเดือนก่อน +4

    I have worked as a React developer for four years and I never understood why you have to import React and neither why you can't use the index as a key. Very good and clear explanations. I will have an interview for a React job on monday and this definitely helps me! Thank you! 😃

  • @ajeeteppakayala6788
    @ajeeteppakayala6788 2 ปีที่แล้ว +4

    One of the best videos for those who want to dive deep into the React and the source code.

  • @kevinfreeman9652
    @kevinfreeman9652 2 ปีที่แล้ว +11

    Philip this was awesome. I have been an educator for over 15 years and love watching others present information. Your use of the calming background music, imagery, and the pace of your voice definitely put my mind in a place to absorb the content easily. Please continue to bring us more information. Instantly subscribed!!!

    • @PhilipFabianek
      @PhilipFabianek  2 ปีที่แล้ว

      Thank you!

    • @lilithfirefly3727
      @lilithfirefly3727 ปีที่แล้ว

      It's so smooth I just replayed the video to check the music 😅

  • @bradleyli1569
    @bradleyli1569 10 หลายเดือนก่อน +1

    This youtuber definitely deserves more subscribers! Awesome content! Looking forward to seeing more coming out!

  • @szymonrojek6480
    @szymonrojek6480 ปีที่แล้ว +3

    Amazing content - I can see more clearly what is going on with renders and generally better understand the reconciliation process. Thank you 🙏

  • @GauravYadav-rv7wx
    @GauravYadav-rv7wx 2 ปีที่แล้ว +3

    This is gold stuff, I believe it not available any where.
    Please bring more videos like this

  • @0xmorfu
    @0xmorfu 2 ปีที่แล้ว +1

    Big thanks man. Exactly the understanding I was looking for. Really well done.

  • @webb-developer
    @webb-developer ปีที่แล้ว +1

    the most accurate video i've watched on this topic so far , good job

  • @prathameshkhetre1494
    @prathameshkhetre1494 5 หลายเดือนก่อน +1

    crisp and clear, loved the explanation!

  • @deepeshnair
    @deepeshnair 10 หลายเดือนก่อน +1

    This is amazing ❤. This is the only video I’ve seen which has explained this on a practical level

  • @zb2747
    @zb2747 ปีที่แล้ว +2

    Nice brief high-level overview of the source code and core deep fundamentals

  • @ramshankarkumar4222
    @ramshankarkumar4222 2 ปีที่แล้ว +1

    This is amazing !!!!! Thank you so much man. This really helped me clearing so many doubts related to react.

  • @MrRobot-mb6rq
    @MrRobot-mb6rq ปีที่แล้ว +2

    This video deserves million views.

  • @harshitadhingra225
    @harshitadhingra225 2 ปีที่แล้ว +2

    The Best 'React Under the Hood' explanation!!

  • @hichamelkamouni9910
    @hichamelkamouni9910 ปีที่แล้ว +1

    actully this one of the greatest videos about react. thanks for this amazing content , can't wait to see more.

  • @chrisschuller7055
    @chrisschuller7055 2 ปีที่แล้ว +1

    The best video I have found about this topic on TH-cam!! Great work! 😁

  • @uuu06222
    @uuu06222 ปีที่แล้ว +1

    This is amazing, I checked lots of times if I have already pressed like during watching this, thank you!

  • @user-ki9ru5kf8s
    @user-ki9ru5kf8s ปีที่แล้ว +1

    awesome! This is the best React video I have ever seen

  • @hashim_hahsimli_95
    @hashim_hahsimli_95 ปีที่แล้ว +1

    Great video Philip! Thanks!

  • @netcomputers6529
    @netcomputers6529 ปีที่แล้ว +1

    great content...even watching this single tutorial, learned much more than reading articles online...

  • @dx.dhafer
    @dx.dhafer 2 ปีที่แล้ว +2

    Incredible content, I daresay this was never explained better! Thank you 🙏🏽

  • @19jnz08
    @19jnz08 ปีที่แล้ว +2

    I've switched from Angular to React. This video is very helpful. Thank you for sharing your knowledge ;)

  • @saulnewbury4631
    @saulnewbury4631 2 ปีที่แล้ว +1

    This is friggin' awesome! Thank you.

  • @hariharan3469
    @hariharan3469 ปีที่แล้ว +1

    Loving this DEFFING ALGORITHM. Thanks mate

  • @lilithfirefly3727
    @lilithfirefly3727 ปีที่แล้ว +1

    Great work. Thank you for the detailed explanation 💜

  • @SumanPokhrel0
    @SumanPokhrel0 หลายเดือนก่อน +1

    What an elegantly explained video. Bravo

  • @EBay_Dev
    @EBay_Dev 2 ปีที่แล้ว +1

    This type of quality and depth is hard to find easily and for free. Thank you for your understanding and great explanation.
    the much deeper dive, the better
    thanks

  • @pq6688
    @pq6688 2 ปีที่แล้ว +3

    Brilliant content. World-class content. Keep it up Philip, it's amazing.

  • @billchen4923
    @billchen4923 2 ปีที่แล้ว +1

    Super awesome & fantastic lessons, rarely encounter such a deep dive React tutorial on TH-cam.

  • @mykolao
    @mykolao ปีที่แล้ว +1

    This is pure gold

  • @timjobs9072
    @timjobs9072 2 ปีที่แล้ว +1

    omg, much of information in the video killed confusions, really helped a lot.❤❤❤

  • @mehmetturgutgezgin6439
    @mehmetturgutgezgin6439 2 ปีที่แล้ว +2

    I've never seen such an informative video about React before. Thank you very much for presenting such a video to us.

    • @PhilipFabianek
      @PhilipFabianek  2 ปีที่แล้ว

      Thank you for watching, glad it was helpful 🙂

  • @hansschenker
    @hansschenker 2 ปีที่แล้ว +1

    Thank's a lot for this React deep dive - I myself would not have been able to dive so deep into react!

  • @DiaryOfMuhib
    @DiaryOfMuhib ปีที่แล้ว +1

    Awesome. Keep up the good work

  • @naturalguardian5885
    @naturalguardian5885 5 หลายเดือนก่อน +2

    Awsome work ! keep going this !

  • @k303k
    @k303k ปีที่แล้ว +2

    Your channel is a work of art.I'm new to your channel.I've been learning Reactjs for about like 4 months and i was looking for like how React works behind the scenes .Your channel is a masterpiece.Thank you so much.Can we expect like Nextjs series Deep dive series if you have times sir?Thank you....

  • @samggez
    @samggez 9 หลายเดือนก่อน +1

    Pure GOLD! subscribed!

  • @mrwick2op
    @mrwick2op 7 หลายเดือนก่อน +1

    Great video , thanks brother it helped alot to understand react better.

  • @ngocthile1001
    @ngocthile1001 ปีที่แล้ว +1

    great explanation. Thanks so much

  • @aaadesh
    @aaadesh ปีที่แล้ว +1

    Thanks for such a great content Philip!🖖

  • @sanjeettiwari9000
    @sanjeettiwari9000 2 ปีที่แล้ว +1

    It was really very insightful. Learned a lot in those 15 minutes. Thanks for that Philip.

  • @zhenghongjiang5862
    @zhenghongjiang5862 2 ปีที่แล้ว +1

    Best content! clear and concise, I've never seen. thanks for your sharing!

  • @zoltancaputo9562
    @zoltancaputo9562 ปีที่แล้ว +1

    Amazing! Tks for share.

  • @StryKhymorodnyk
    @StryKhymorodnyk ปีที่แล้ว +3

    It is the greatest explanation I have seen! I say it, as I have just kind of ended self-learning JavaScript and was wondering about React.js's hard-mode. It is good that you show it like that, because when I have seen the other's 'let's create-react-app' and so on, I just felt as if I forgot all I knew!
    I have to switch, due to war. Even my 2 diplomas are just for fun. That is where English and German are useful.
    Thank you, Philip! My best friend lives in Prague since 2008. He helps me in learning, but I couldn't have understood React, even with his help! You have helped! Great

  • @leroysaldanha3849
    @leroysaldanha3849 2 ปีที่แล้ว +1

    woooahhh! amazingg

  • @nguyentruong1812
    @nguyentruong1812 ปีที่แล้ว

    Thank you Philip, you cleared a lot of my confusions :))

  • @VladimirJovana
    @VladimirJovana ปีที่แล้ว +1

    15 mins of pure beauty, thanks a lot

  • @nextleveltech267
    @nextleveltech267 4 หลายเดือนก่อน +2

    Thank you... Really informative 👍

  • @VovanFraer
    @VovanFraer ปีที่แล้ว +1

    Indeed, it was the best video on this topic, take my gratitude, sir!

  • @zGrowthLabs
    @zGrowthLabs 4 หลายเดือนก่อน +1

    incredible explanation!

  • @andreigatej6704
    @andreigatej6704 3 ปีที่แล้ว +1

    Very interesting and helpful, thank you! Keep up the good work!

  • @Dipenparmar12
    @Dipenparmar12 ปีที่แล้ว +2

    One of the best insights of react internals (even I couldn't found this kind of info in paid course's as well), amazing work Philip Thank you so much for such a great series.

    • @PhilipFabianek
      @PhilipFabianek  ปีที่แล้ว +4

      Thank you! I am actually considering making a course (~ 10 hours) that would focus exclusively on React internals

    • @lilithfirefly3727
      @lilithfirefly3727 ปีที่แล้ว +1

      @@PhilipFabianek That sounds great. I'm waiting for the updates about the course

    • @devendrapandey4557
      @devendrapandey4557 ปีที่แล้ว

      @@PhilipFabianek Hey Philip , Any updates on the course . I will be the first to purchase ..Your teaching style is awesome !

  • @MrAdityaSingal
    @MrAdityaSingal 6 หลายเดือนก่อน +1

    Awesome content!!

  • @nneddenn6207
    @nneddenn6207 2 ปีที่แล้ว +1

    Excellent explanation! Very clear & structrured!

  • @wxq521
    @wxq521 2 ปีที่แล้ว +3

    This is so great. The explain is very simple and clear. Thanks author, you make my days much easier and saved my time.

  • @prathameshkhetre1494
    @prathameshkhetre1494 4 หลายเดือนก่อน +1

    00:00 Understanding the basics of React
    01:50 A React component is a class or function that outputs an element tree.
    03:44 React elements, components, and instances
    05:42 React uses a virtual DOM to efficiently update the real DOM
    07:38 React's Diffing algorithm relies on two important assumptions
    09:33 React's reconciliation algorithm explained
    11:30 React renderers generate and insert elements during reconciliation.
    13:25 React communicates with renderers using dispatchers.

  • @user-fg6ng7ej6w
    @user-fg6ng7ej6w ปีที่แล้ว +1

    great series on internals. please keep showing us react guts

  • @jonasoo7113
    @jonasoo7113 9 หลายเดือนก่อน +1

    Wow this is god sent..... Best video on this subject❤❤

  • @nghiatranthanh3806
    @nghiatranthanh3806 2 ปีที่แล้ว +1

    Great video! Thank you

  • @umairqamar2672
    @umairqamar2672 ปีที่แล้ว +1

    premium level content bro !

  • @captainalpha4853
    @captainalpha4853 2 ปีที่แล้ว +1

    Very informative, please keep making videos like this. Cheers man

  • @bushbuddyplatypus
    @bushbuddyplatypus 11 หลายเดือนก่อน +1

    Fantastic, and great music

  • @LyczeQQ
    @LyczeQQ ปีที่แล้ว +1

    Man, thank you so much for this video. I finally understand React

  • @Serzes_
    @Serzes_ ปีที่แล้ว +1

    Thank you for your videos, those information are not easy to find on TH-cam because in general people explain only how to use things without explaining it

  • @DemystifyFrontend
    @DemystifyFrontend 5 หลายเดือนก่อน +1

    This is really awesome content .

  • @illyapelypenko3190
    @illyapelypenko3190 2 ปีที่แล้ว +1

    Man you rock. So cool explanation!

  • @gowriramasamy674
    @gowriramasamy674 2 ปีที่แล้ว

    Thank you for this video.its clearly explained about react basics.

  • @IsraelAgyemanPrempeh
    @IsraelAgyemanPrempeh ปีที่แล้ว +1

    Amazing content, you explained it properly with amazing brevity and clarity. I am interested in the internals of redux or any state management say useReducer/useContext

  • @danieldesales377
    @danieldesales377 2 หลายเดือนก่อน +1

    Great content!

  • @1minuteunity759
    @1minuteunity759 25 วันที่ผ่านมา +2

    Great Video!

  • @user-tq6uz9dc3y
    @user-tq6uz9dc3y 18 วันที่ผ่านมา +1

    awsome video thanx from south korea!!

  • @ramanpreetsingh186
    @ramanpreetsingh186 4 หลายเดือนก่อน +1

    great explanation!!!!

  • @chans9055
    @chans9055 ปีที่แล้ว +1

    Thank you for the amazing video, now I have a better understanding of React

  • @vatsee
    @vatsee 2 ปีที่แล้ว +1

    Thanks. Very useful content!

  • @frankdearr2772
    @frankdearr2772 2 หลายเดือนก่อน +1

    great topic, thanks

  • @AleySoundz
    @AleySoundz 6 หลายเดือนก่อน +1

    Thank you for this video it was very helpful.

  • @anshumansharma4509
    @anshumansharma4509 ปีที่แล้ว +1

    Great🙌

  • @princeagrawal8245
    @princeagrawal8245 2 ปีที่แล้ว +1

    Awesome !!!

  • @kiefer8101
    @kiefer8101 ปีที่แล้ว +1

    Subscribed!
    More React internals content please!!

  • @diegazo5556
    @diegazo5556 2 ปีที่แล้ว +1

    Great Job! Awesome explanation!

  • @mohammadnoushadsiddiqui4786
    @mohammadnoushadsiddiqui4786 2 ปีที่แล้ว +1

    WOW AMAZING , This video is full of tons of knowledge. Thank you so much sir.

  • @meetpatel8751
    @meetpatel8751 8 หลายเดือนก่อน +1

    Nice video !!! 👏

  • @eegaramesh3093
    @eegaramesh3093 3 ปีที่แล้ว +1

    Your video's are really helpful, I am searching for the video's of this kind.keep videos of this kind.really informative

  • @trannhathao3978
    @trannhathao3978 2 ปีที่แล้ว +1

    Thank you, now I can understand more about react

  • @omarpervez5657
    @omarpervez5657 4 หลายเดือนก่อน +1

    Have to say bunch of words about this video but not have much time to do it. You did a great job that I can't explain. Keep it up your great work. Have subscribed your Channel 👍

  • @sumitbhutani5606
    @sumitbhutani5606 3 ปีที่แล้ว +1

    Great video!! Super helpful.

  • @AjithKumarsham
    @AjithKumarsham 2 ปีที่แล้ว +1

    Great video, thanks man!

  • @satyamchatterjee1074
    @satyamchatterjee1074 ปีที่แล้ว +1

    Bro, why didn't I see you earlier ? Why TH-cam isn't showing more of your content in suggestions ?
    This content is lit, complete lit.
    Thank you man for this awesome content.

  • @easyItalianWithMartin
    @easyItalianWithMartin 2 ปีที่แล้ว +1

    thank you! we need to understand how does react really work in order to use it properly!!

  • @bruh_5555
    @bruh_5555 ปีที่แล้ว +1

    amazing content! still watching in 2023

  • @dovahkiin3362
    @dovahkiin3362 10 หลายเดือนก่อน +1

    this is gold

  • @shalin1
    @shalin1 5 หลายเดือนก่อน +1

    Great Video

  • @programmingwithnit5308
    @programmingwithnit5308 ปีที่แล้ว +1

    Thank you brother 🙏🙏

  • @AiwwwA
    @AiwwwA 2 ปีที่แล้ว +2

    This is gold