Understanding Virtual DOM? Concept behind Virtual DOM? React For Beginners [2]

Understanding Virtual DOM? Concept behind Virtual DOM? React For Beginners [2]

Daily Tuition

5 лет назад

73,337 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Daily Tuition
Daily Tuition - 19.12.2018 20:37

What is virtual DOM?

Ответить
Doose Deborah
Doose Deborah - 04.03.2023 00:32

The virtual DOM is object identical to the javascript object, it is simply the representation of JavaScript DOM object

Ответить
Nothing
Nothing - 25.01.2023 08:55

great

Ответить
Vishal Garg
Vishal Garg - 22.12.2022 14:29

basically virtual Dom is blue print of real DOM and as we change any element or component in react app , React will first make the copy of virtual Dom and then update all the elements of that Virtual Dom and after that react will compare the both Virtual DOM which are basically DOM objects and figure out the difference ( the process of update virtual DOM take very less time then real Dom directly) and after the comparison react will update that element or component in real Dom. these hole process is call reconciliation.

Ответить
Amod Shinde
Amod Shinde - 04.12.2022 08:48

dome

Ответить
Akash Dhyani
Akash Dhyani - 27.09.2022 22:20

Hats off to you man!!
What an amazing explanation in just 4 mins. 👏👏

Ответить
Buzz Marketing Kenya
Buzz Marketing Kenya - 17.09.2022 15:45

Very helpful

Ответить
aakash yadav
aakash yadav - 02.09.2022 20:54

Appreciated bro

Ответить
RubberToe Assembly
RubberToe Assembly - 15.07.2022 00:45

Great! Thank You

Ответить
Keifer
Keifer - 03.07.2022 15:21

He's just reading off Codecademy's article about the virtual Dom. Disliked

Ответить
dc fft
dc fft - 25.05.2022 00:03

<3 great

Ответить
zy T
zy T - 14.03.2022 23:29

im so lucky to meeting this guy on the earth.

Ответить
30harsh kumawat
30harsh kumawat - 23.11.2021 19:11

tq

Ответить
Matan Yamin
Matan Yamin - 12.10.2021 18:39

Finally a clean and clear explanation for virtual DOM. Thanks!

Ответить
Marcelo Martins
Marcelo Martins - 07.09.2021 21:56

Manipulating the real DOM is not slow. Actually it is a lot faster than the Virtual DOM.
The issue is not in the DOM manipulation but in the whole process os rendering that follow it till the pixels been rendered by the browser to the final user.

So the big advantage of using Virtual Dom is not because it is faster, but because we are avoiding touch in real dom and trigger this renderer pipeline but only when it is necessary.

Ответить
Varun Jain
Varun Jain - 30.08.2021 08:09

how can i create virtual dom in javascript

Ответить
Urban street art
Urban street art - 26.07.2021 10:23

Great work man now actully I understand how it work .... Its bit easier to understand

Ответить
Lalithya Inukurthi
Lalithya Inukurthi - 17.07.2021 10:09

Thanks for Virtual DOM explanation. I have a question can we see virtual DOM in browser? React will show virutal DOM or the real DOM everytime it loads?

Ответить
Sadana Rathanavel
Sadana Rathanavel - 15.07.2021 12:56

The perfect explanation

Ответить
Sanjeev Karumuri
Sanjeev Karumuri - 03.07.2021 14:53

The end music is very good

Ответить
dato qarseladze
dato qarseladze - 23.06.2021 10:57

virchu dum

Ответить
Sourav Santra
Sourav Santra - 13.06.2021 08:33

Great explanation. Thanks.

Ответить
Richard Student
Richard Student - 07.05.2021 12:35

Thank you very much

Ответить
Okami Wolf
Okami Wolf - 02.04.2021 09:10

great explanation thanks a lot!

Ответить
Avinash nayak
Avinash nayak - 28.03.2021 23:38

Why updating one DOM (Real DOM here) isn't faster , but comparing three DOMs (i. e. real DOM , Prev Virtual DOM and Current Virtual DOM ), then updating two DOMs is Faster ???

Ответить
Akshay Mehta
Akshay Mehta - 16.12.2020 22:03

I am confused at, why cant the real dom directly be updated partially. Why does it have to go through virtual dom comparison to figure out and tell what to update. Not sure if i am missing something here

Ответить
UDAYA SRI REDDY GANGAPPA GARI
UDAYA SRI REDDY GANGAPPA GARI - 12.12.2020 09:53

Tq so much ...

Ответить
Rishav Bhowmik
Rishav Bhowmik - 23.10.2020 05:18

Anyone has any benchmarks of virtual dome increasing performance?
First of all, some 12-year-old kid will make a basic HTMLJs app where he/she reprints the whole HTML element.
And in my lifetime i have never seen any frontend getting any faster or smoother with react.

Ответить
westfield90
westfield90 - 17.08.2020 07:38

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

Ответить
AJS
AJS - 17.07.2020 07:54

Awesome presentation sir.. you use powerpoint or some other software for that?

Ответить
Jesse Aujla
Jesse Aujla - 11.07.2020 13:21

Awesome explanation!

Ответить
Hang Tran
Hang Tran - 25.04.2020 18:49

Can you explain more about the speed, if virtual Dom has to do such an amount of steps: change all virtual Dom completely, copy Dom in 2 states, compare 2 state, apply change to real Dom. Is it faster to just update directly to the real Dom?

Ответить
Bappa Dey
Bappa Dey - 28.01.2020 09:23

Mind-Blowing video series, well explanation,
Keep it, dude,
and make to continuing such videos which help the beginners who really need it.

Ответить
Julio Agustín Mayorga
Julio Agustín Mayorga - 02.01.2020 20:49

Good explanation!! Thx!

Ответить
ribhav kapur
ribhav kapur - 10.12.2019 19:14

thanks for the video BUT ITS DOM NOT FUCKING DOME

Ответить
Girijashankar Jambhale
Girijashankar Jambhale - 30.11.2019 08:20

Simple and easy

Ответить
Elkhan Hamet
Elkhan Hamet - 24.10.2019 08:33

Amazing explanation!!! Thank you sir!!!

Ответить
B Harish
B Harish - 28.08.2019 10:07

virtual DOM is the blueprint of the original DOM

Ответить
Alex Yao
Alex Yao - 23.08.2019 18:31

Nice tutorial, clean and straightforward👍So the virtual DOM will create different copies of the real DOM( the prev and updated one) and figure out what objects have been updated, then update that specific object to real DOM, cause the changes on screen.

Ответить
dandan drori
dandan drori - 31.07.2019 21:06

The very last explanation clarified everything for me! Thank you so much

Ответить
thangible word
thangible word - 26.04.2019 18:35

thank you. It helps!!

Ответить