Really good, I honestly don't know why this has so low number of views, it's the best one I found to introduce me to React. Thank you sir for taking your time to explain so patiently and detailed how the DOM is changed and how React changed the rendering "game".
Of all the videos that I’ve watched on react this is by far the most clear explanation of what react does behind the scenes. It’s also backed up with a very simple example that demonstrates the power of react.
Wow, that was such an awesome video. I have been learning react from a few months now and always see people directly jumping to the codes without assisting with things like DOM manipulation, Virtual DOM to name a few. Thank you so much for this fruitful video. Please go ahead and make more informative content on complex topics like this.
Thanks a lot i have bought two udemy course to learn react but none has explained like you. finally i have understood .Thank you so much. I wish you could make some tutorial on Udemy.
Nice explanation Sir. One question. I read some articles, saying that Plain JavaScript re-renders the entire DOM, while react renders the changed part. But here, plain js also refreshes the minimum part only. Can anyone explain on this please.
The advantage to react is that you don't need to write code to guarantee that the minimum change is made. Instead, the Dom is compared with the virtual Dom to do that work for you.
IMO this is a very common mis conception regarding react that it only re renders what is changed and not the whole DOM. Since React is a library built on top of JS it does not have any additional superpower but it can work smartly. In JS it is really easy and high performant to manipulate Objects when compared to DOM trees, React actually keeps the copy of dom in VDOM and manipulate that over the time very very quickly since it is very high performant to update objects and just map those changes and does its own batching.
Are you saying the analogy used in this video is not very accurate? If so, please kindly explain better or link to another video or blog that gives a more accurate information. Thank you
I understand your concern that's why youtube has speed feature. I have to speak slowly so that everyone can understand. These videos are made keeping everyone in mind. Thanks for the feedback.
I’m sorry but I’m a little confused. The painting of the ui is slow part right? So if the real dom receives changes at say node 4 from the virtual dom, does it not paint node 1, 2, 3 and 4 again? I guess my confusion is when you make a change in regular JavaScript to only node 4, how is that any different if the real dom is painting node 1,2,3 and 4 again. Perhaps I’m not understanding how the painting of the ui is done by the real dom
Hello, the beauty of react is it doesn't render the entire element but part of it. So if you have 4 employee in a list of employees and one of the employees status got updated, react in going to render that employee node only. You can achieve the same using JS also but it would be really cumbersome. I will be working on videos where I will compare the React projects with vanilla JS projects. Please be with me till that time :)
Hi Dipesh, we can say rendering is similar to drawing on a blank sheet of paper. So basically react is drawing into the Dom. But it doesn't sound good to say drawing. Hence this word render has been used. Btw great question I would look more into this and come back with small video possibly.
Really good, I honestly don't know why this has so low number of views, it's the best one I found to introduce me to React. Thank you sir for taking your time to explain so patiently and detailed how the DOM is changed and how React changed the rendering "game".
Thanks
Of all the videos that I’ve watched on react this is by far the most clear explanation of what react does behind the scenes. It’s also backed up with a very simple example that demonstrates the power of react.
Thanks
I agree
This video is the definition of Crystal Clear!
Thanks 🙏
This is the best explanation about React on RUclips.
Thanks. Glad you liked it.
The best explanation of "React Virtual DOM" I have ever seen. Simple , Clean & Precise. Thanks a lot !!
Thanks
Best way of explanation...thank you very much Sandip.
Glad u liked it. Thanks.
I wish you could create more tutorials about React, and I agree with the rest of this dude you really did a good job here! Thank you!
Yup, working on it.
The Easiest example and explanation I have ever seen!!
Thanks
one of the best explaination on DOM thanks sir please keep it up
Thanks
REALLY SO BRILLIANT AND SOOOOO INFORMATIVE
Thanks
Thank you for taking the time to do this! As others said, one of the most clear explained videos! Keep it up!
Thanks
i learn only by doing. I have now understood the Virtual DOM . omg how good this explanation is just wow.
Thanks
I have been roaming around the internet for days and finally found the FABULOUS explanation of Virtual DOM. Thanks
Thanks
the 7 dislikes are from the ones who don't know react.
Great video man I learnt something new today.
Thanks
woww... what a simple yet powerful way to explain react working. Amazing work. This video should get millions of views. Thank you so much !!
Glad you liked it!
Excellent! Very informative using simple terms and with clear explanations. Thanks for the video.
Thanks. I m glad you liked it.
one of the best video found to understand the react. Thankyou !
Thanks
Okay nice explanation with detailed example..keeping creating more like this ..thank you ❤
Wow, that was such an awesome video. I have been learning react from a few months now and always see people directly jumping to the codes without assisting with things like DOM manipulation, Virtual DOM to name a few. Thank you so much for this fruitful video. Please go ahead and make more informative content on complex topics like this.
Thanks. Glad you liked it. I m on it.
Nice video! Thank you for the thorough explanation.
Best video I have seen for What is React, very clear explanation.
Glad it was helpful!
Thank you, your explanations were very clear.
Thanks
How nice demonstration it is!! This is pretty much helpful to understand React. Thank you so much Sandip.
Thanks.
wow, Amazing explanation sir, now i got how react works..
Glad it helped
It's really great... Thank you for your effort. I wish you to create more useful videos...
Thanks
The clearest explanation!!!!!
Thanks
Exactly what I was looking for. Best explanation ever with live example.
Glad it helped. Thanks.
Thank you brother for such a good explanation!
Thanks 🙏
Very well explanation. One small question, where this Virtual DOM data store as it keeps current and Prev state for compare it.
I think it should be in memory which browsers environment
Perfect example on how virtual dom works , really informative ..
Thanks sir
Thanks
Offf....Sooo...finally I got to know how React works. Thanks a lot, Brother!
Thanks
Thanks for wonderful explanation of React! Very nice video!
Thanks
I am a big fan of you now and I am watching every single video of your channel 🙏🙏
As always this video was clear and concise and very useful 👍
Thanks
Really helpful and interactive thank you
Thanks
the BEST one in terms of explaining how React works! look 8:20, it's a moment of "I got"!!
Glad it helped.
Bestest explanation on RUclips
Glad you think so!
A million thanks for this explanation
Glad it was helpful!
TBH great work simple yet clean
Thank you ❤
Glad you like it!
Excellent! Clear and to the point! Thank you!!!
Thanks
crystal clear explanation !! thanx
Thanks
Awesome video, you really explain Virtual Dom crytical clear.
Glad it was helpful!
So neat and clean explanation ❤️👍🏻
Thanks
want this code to watch and play with it, I know it's not possible now. But,I must say you are very amazing explainer.Thank You
Thanks
Please make a complete video, how single page applications works under the hood.!
Excellent explanation. Thank you for making it easy to understand.
Thanks
its really good. thanks a lot giving this.
Glad you like it!
Best React "what-is" video I have found. God bless you, Sir!
Thanks
Amazing 👏..
Keep doing videos on Web Development.
Thanks
Very clear explanation. Thanks
Thanks
showing the DOM updates is very clever.
Thanks
Great video! thanks
Thanks
Really great explanation. Thanks
Thanks
wow what a beautiful way of explanation.
Thanks
Oh man where are you ,love your way of explaning thought it there would be react js videos but no videos.You should have made it.
Thanks
Very well explained. Thanks.
Thanks 🙏
Amazing video!!!!
Thanks
It's beautifully explained, Thank you.
Thanks
Nice explanation about virtual DOM
Thanks 🙏
Really Awesome Video 🤩🤩🤩
Thanks
GOD BLESS YOU!
Thanks
Beautiful explanation
thanks
thx, very nice demonstration
Glad you liked it. Thanks.
Thanks a lot i have bought two udemy course to learn react but none has explained like you. finally i have understood .Thank you so much. I wish you could make some tutorial on Udemy.
Glad you liked it. Thanks.
Well explained dud 👍, thank you so much 🙏
Thanks. I m glad you liked it.
Great Example 👍
Thanks! 😃
Great explanation. Thank You :)
Thanks
wow the most easy explained video on entire youtube!1!
Thanks
Nice explaination!
Thanks
Just amazing
Thanks
The best explanation ever
Thanks
Very good explanation
Glad you liked it. Thanks.
clock example was very helpful.
Glad it was helpful!
Superb explanation
Thanks
Good explanation.
Thanks
+1 Great video!
Thanks
Thank you!
You're welcome!
Nice explanation Sir. One question. I read some articles, saying that Plain JavaScript re-renders the entire DOM, while react renders the changed part. But here, plain js also refreshes the minimum part only. Can anyone explain on this please.
I will come up with one video showing the example.
The advantage to react is that you don't need to write code to guarantee that the minimum change is made. Instead, the Dom is compared with the virtual Dom to do that work for you.
It's more obvious for me know. Thank you so much buddy for the video.
Thanks
very nice explaination
Thanks
IMO this is a very common mis conception regarding react that it only re renders what is changed and not the whole DOM. Since React is a library built on top of JS it does not have any additional superpower but it can work smartly.
In JS it is really easy and high performant to manipulate Objects when compared to DOM trees, React actually keeps the copy of dom in VDOM and manipulate that over the time very very quickly since it is very high performant to update objects and just map those changes and does its own batching.
Are you saying the analogy used in this video is not very accurate? If so, please kindly explain better or link to another video or blog that gives a more accurate information. Thank you
thanks sandip
Most welcome 🙏
Thank you man!
Thanks
Nice explanation 😊
Thanks 🙏
wow, this is like finding a gem of a video. good work. but please speak a bit fast. I have to watch you like on 1.5 video speed.
I understand your concern that's why youtube has speed feature. I have to speak slowly so that everyone can understand. These videos are made keeping everyone in mind. Thanks for the feedback.
Love from Bangladesh
grt work
Thanks
Couldn't find your course on pluralsight
Please provide link
I got selected for pluralsight but getting a new course approved is really tough. You need to create unique content to get into pluralsight.
@@codewithsandip the way it was explained is very good, please keep making videos
Thanks 😀
I’m sorry but I’m a little confused. The painting of the ui is slow part right? So if the real dom receives changes at say node 4 from the virtual dom, does it not paint node 1, 2, 3 and 4 again? I guess my confusion is when you make a change in regular JavaScript to only node 4, how is that any different if the real dom is painting node 1,2,3 and 4 again. Perhaps I’m not understanding how the painting of the ui is done by the real dom
Hello, the beauty of react is it doesn't render the entire element but part of it. So if you have 4 employee in a list of employees and one of the employees status got updated, react in going to render that employee node only. You can achieve the same using JS also but it would be really cumbersome. I will be working on videos where I will compare the React projects with vanilla JS projects. Please be with me till that time :)
I had a doubt that why the browser itself cannot implement the diffing algorithm
Amzing
Thanks 🙏
best Video
Thanks 🙏
Awesome
Thanks
Good one.
Thanks
Great
Thanks
perfect
Thanks
Everybody keep saying render , render but what is rendering ?
Please explain sir what is rendering in simple terms and whether print statement in normal coding language same as this rendering?
Hi Dipesh, we can say rendering is similar to drawing on a blank sheet of paper. So basically react is drawing into the Dom. But it doesn't sound good to say drawing. Hence this word render has been used. Btw great question I would look more into this and come back with small video possibly.
@@codewithsandip thank a lot sir
thank you sir
Your welcome.
Sir can you provide source code of js and react clock
My Apology. Un fortunately I don't have source code for this one now. This was i have written online just for a demo.
now it's really clean, but it seems like jQuery do the same
Thanks
No. Not even a little bit.
🥇🏆🏆🥇