Menu

1 / 8

Understanding React Virtual DOM Internally

DEV Community·Shivam Yadav·6 months ago
#C9aRHimr
#how#this#example#react#virtual
Reading 0:00
15s threshold

hey reader its me shivam

and today i am all researching about DOM and how React works, why am i learning it, what benefit do i get after learning it

so with this many thoughts i really got to know about what is Virtual DOM and how things internally work in React

so i am not going to bore u or anything so lets start

First let see the problem statement

so population is growing ( people are doing too much sex )

as well the user of web has also grown

and in web application there is constant changes happening like:

notification

message loading

forms validation

comments

likes

realtime updates

etc

if browser update the page directly for every changes the application would become slow and kinda heavy

this is exactly the problem faced by facebook developer

so they created REACT and react's virtual DOM was designed to solve this problem

now this was the story for React that u have heard many time

now lets start understanding of REACT working

The Problem : Direct DOM Manipulation is…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.