top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is virtual DOM in React.Js? What is the use ?

0 votes
26 views
What is virtual DOM in React.Js? What is the use ?
posted Jan 15 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

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 by Aarati Mahajan
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...