What Is React Fiber? React.js Deep Dive #2

แชร์
ฝัง

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

  • @ManishGupta-nv5by
    @ManishGupta-nv5by 6 วันที่ผ่านมา

    Second video of series , I really start loving you. when i search how react work, no one taught this deep, and after watching your video , i really starting to understand react.
    i really love to watch your videos at least one per week :). I can only say thank you for the hard work and i am grateful you for this video.

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

    I wish I had a lecturer like you, I hope these videos will continue. Thanks for sharing your knowledge in such a detailed and understandable way.

  • @xiaoyuwang8446
    @xiaoyuwang8446 ปีที่แล้ว +5

    简直太棒了,每个视频我都要看三遍以上,太喜欢你的解读方式了,希望能多出一些讲解视频!

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

    This channel is really underrated, great work!

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

    This is the best explanation of Fiber and how react works itself! Thank you so much for your work!

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

    Please continue creating these kinds of video, This really helps to understand the core React Concepts and getting a vast amount of knowledge from the core. Thank you.

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

    this is literally very under-rated channel , this is outstanding explanation of this much of complicated topic. thanks @philip keep up the good work.

  • @karpo1180
    @karpo1180 ปีที่แล้ว +5

    I like your clear and concise explanation of React Fiber and this ambient music on the background :)

  • @mdtanviralam7571
    @mdtanviralam7571 10 หลายเดือนก่อน +2

    Fantastic explanation detailing React Fiber-very helpful! Please continue creating this kind of video content.

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

    Incredibly useful! One of the best explanations of fiber that i've seen.

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

    Thank you very much for the detailed explanation. Please make more videos like this.

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

    This series is top notch. I would like to send you a kofi or something in appreciation.

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

      Thank you! If you want to support me, I do actually have a Kofi account at ko-fi.com/philipfabianek

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

    Background music is really pacifying and non-interruptive. Thanks for explaining, good sir.

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

    Please continue with tis content, it's so good

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

    Thank you. Your video is concise and very to-the-point. You've done a great job making it.

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

    The animation made it understandable. Good job 👌

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

      Thank you!

    • @kehindefasunle4933
      @kehindefasunle4933 3 ปีที่แล้ว

      I was going to ask if we can work with the fiber directly.

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

      It is possibe but there is no reason to do so, because Fiber is just the internal part of React after all.

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

    Thank you SOOOO MUCH! Awesome work!

  • @周少伟-s7s
    @周少伟-s7s ปีที่แล้ว

    I should know your channel early, great work! Thanks.

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

    Thank you very much. It's a very good Fiber explanation.

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

    This is really outstanding work!

  • @문상호-w4p
    @문상호-w4p 2 ปีที่แล้ว

    Best ever explanation about fiber. Thanks!

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

    Awesome videos!!! I am so lucky when finding out your channel, your videos are very interesting and helpful! Thanks so much man!

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

    clear & comprehensive video🥰

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

    Great work on this video! Very informative, thank you!

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

    This is incredible content.

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

    Excellent presentation my friend. I was hoping that there might be some general detail about the JS logic of how the buffer switches the pointer. Also, do the variables actually change position in the array [ currentX, setCurrentX ] ? Maybe this might be a topic for another video? Many thanks.

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

    Very very goood man! I'm waiting for a video about hooks behind the scenes!

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

      Thank you! I'm currently working on the video about React Hooks

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

    The English is a little bit clunky, but the quality of the knowledge and the presentation is extraordinary. Keep up the good work!

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

    This is amazing content.

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

    very informative video 👍

  • @кирилларистархов-ь7в
    @кирилларистархов-ь7в 10 หลายเดือนก่อน +1

    Very usefull and clear video, thank you!

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

    Great video. Wish you had spoken about performance a bit more. The fact that suspense is mentioned gives a hint to users like me...but I would have to dig in separately

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

    Wooah. Superb explanation, keep it up dude, I learned a lot from you videos. Thanks you and will subscribe immediately!

  • @Johnwick-9996
    @Johnwick-9996 ปีที่แล้ว +1

    I came in search of silver but I found gold, thanks

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

    Wow, you've made it so simple thx.

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

    讲的太好了,thanks

  • @foxn69
    @foxn69 2 หลายเดือนก่อน

    I got confused about Virtual Tree vs Fiber Three. Is is same? Is fiber next version of reconciliation or it's different?

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

    Great job!

  • @zhoutk6096
    @zhoutk6096 หลายเดือนก่อน

    sorry, i got a question. Under what circumstances does React Fiber cancel its execution?

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

    Awesome video 🙌🏼

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

    Your videos need to be added to the new beta docs

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

    Hi Philip, your this "How does React actually work" playlist is really informative. Thanks for the playlist, I learned new things about React.
    I have 1 doubt and would really appreciate if you could answer, when you use term "Fiber Tree" and discuss that there will be 2 trees (Current Tree & Work In Progress Tree) , is it a replacement of Real DOM & Virtual DOM concept in newer versions of React? Or is it something else?
    My understanding was, there is Real DOM and Virtual DOM, React make changes to Virtual DOM on state change and compares updated Virtual DOM with the snapshot of Virtual DOM before update, then it updates that new component on Real DOM. Virtual DOM is not displayed on screen.
    But in Fiber Tree concept, you said that 2 trees will keep swapping, so if they are being displayed, that means current Tree will act like Real DOM with all content and work In Progress Tree will act like Virtual DOM which would be lightweight copy of currentTree. But because work In Progress Tree will eventually become current Tree, that means it is NOT a lightweight copy, it is an actual thing, right?
    And is Fiber Tree related to Real & Virtual DOM or is it something else?
    I got a little confused about Fiber Tree concept and how it will fit in Real and Virtual DOM concept. 😅

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

      The Real / Virtual DOM and the Fiber tree are 2 different things. While the Fiber tree really is the foundation of React (Fiber tree is being used behind the scenes), Virtual DOM is more of a programming concept or a pattern.

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

      @@PhilipFabianek Thanks a lot, I finally got it! 😄
      Even in React docs, it is written, that fibers can be considered part of Virtual DOM.
      "React, however, also uses internal objects called “fibers” to hold additional information about the component tree. They may also be considered a part of “virtual DOM” implementation in React."
      Thanks again, I really learned a lot from your playlist. Subscribed 😎

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

    Hey thanks for really good animation. Quite easy to understand :D

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

    Is the algorithm used to walk down the tree a DFS?

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

      Not sure it is precisely DFS but React definitely goes through the tree in a DFS manner

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

    man you are amazing

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

    wow,it's absolutely a really helpful video, and i just have one question for another asepect, how could you learn the deep dive knowledge about react, could you share the way you learn it?

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

      In terms of React Fiber, I would suggest reading this article: indepth.dev/posts/1008/inside-fiber-in-depth-overview-of-the-new-reconciliation-algorithm-in-react

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

    thanks for the video!

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

    Thank you!

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

    Please create more videos!!

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

    Great explanation, but need analogy with virtual dom.

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

    please create more videos!!!

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

    wow, it's really good explanations in the video, but I still got so many confusions in learning React fiber because this is my first time to learn it. My dear video author, can you tell me there is some other good resources to learn about it?

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

      blog.logrocket.com/deep-dive-react-fiber/
      indepth.dev/posts/1008/inside-fiber-in-depth-overview-of-the-new-reconciliation-algorithm-in-react

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

      @@PhilipFabianek Oh, thank you, I really appreciate it

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

    Is fiber tree == virtual Dom?

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

      No, they are not

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

      @@PhilipFabianek so the changes made to the fiber tree based on user events and state updates are then applied to virtual DOM and the diffing algorithm is run and DOM is updated and then the screen renders.
      Please correct me if iam thinking wrong

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

      In summary, the virtual DOM tree is a JavaScript representation of the HTML structure used by React for efficient diffing and patching operations. The fiber tree, on the other hand, is a more complex data structure that organizes components and their virtual DOM nodes, allowing React to efficiently schedule and perform updates based on their priority. Together, they enable React to efficiently update the actual DOM while minimizing unnecessary operations.

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

    Nice informative video

  • @周胜-n6y
    @周胜-n6y 3 ปีที่แล้ว +1

    thanks for sharing

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

    nice!

  • @VKY-XLR8
    @VKY-XLR8 ปีที่แล้ว +1

    React fiber tree IS virtual DOM?

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

      No, they are two different trees

    • @VKY-XLR8
      @VKY-XLR8 ปีที่แล้ว

      @@PhilipFabianek love the way that u reply to questions, highly appreciated.
      May I ask where can I find the answers to the question..

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

      Well I actually talked about both of the trees in my videos. About the first one (virtual DOM tree) in React.js Deep Dive #1 and about the second one (Fiber tree) in React.js Deep Dive #2

    • @VKY-XLR8
      @VKY-XLR8 ปีที่แล้ว

      @@PhilipFabianek will check them, thank you :)

    • @testingaccount-x9b
      @testingaccount-x9b 8 หลายเดือนก่อน

      @@VKY-XLR8 In summary, the virtual DOM tree is a JavaScript representation of the HTML structure used by React for efficient diffing and patching operations. The fiber tree, on the other hand, is a more complex data structure that organizes components and their virtual DOM nodes, allowing React to efficiently schedule and perform updates based on their priority. Together, they enable React to efficiently update the actual DOM while minimizing unnecessary operations.

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

    I started programing on this year Feb 2022 and I not have CS degree ,do you any Suggestion for me . I learn html , css , js , react .
    know I am reading react docs . I want to get deep in react. Is this right for me now ?
    Thank you for your videos

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

      If you want to work as a frontend developer, those technologies are definitely right for you. It is also important to not just learn, but to also work on a lot of projects.

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

      @@PhilipFabianek thank you

  • @dan-kn3dm
    @dan-kn3dm 9 หลายเดือนก่อน +2

    Use 1.25 speed, thank me later. Btw nice video!

  • @capitankazuriki
    @capitankazuriki 5 หลายเดือนก่อน

    maybe you should look into the way you make videos. I watched the video and i could listen to the words but could not understand a thing you said

    • @PhilipFabianek
      @PhilipFabianek  5 หลายเดือนก่อน

      This video is quite technical and assumes some knowledge of React. Perhaps you could watch the previous video at th-cam.com/video/7YhdqIR2Yzo/w-d-xo.html, which should be more accessible

  • @momo-we4yc
    @momo-we4yc 2 ปีที่แล้ว +1

    thanks