Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
Related Articles
What is React.Js?
Discussion About MUI - React.Js?
About React MDL?
What is virtual DOM in React.Js? What is the use ?
0
votes
477
views
What is virtual DOM in React.Js? What is the use ?
react.js
posted
Jan 15, 2019
by
anonymous
Share this question
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
ReactJS does not update the Real DOM directly but it updates the Virtual DOM.
Virtual DOM is an in-memory representation of Real DOM. It is a lightweight JavaScript object which is a copy of Real DOM.
ReactJS maintains two virtual DOM, one with the updated state Virtual DOM and other with the previous state Virtual DOM. And, It mainly uses for increasing the rendering DOM speed.
answer
Jan 21, 2019
by
Aarati Mahajan
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
0
votes
What is the difference between State vs Props in React.Js?
0
votes
How routing works in React Js ?
Can anyone give example for React js routing system?
0
votes
What is Live Loading and Hot Loading in React?
...