What is the difference between real dom and virtual dom.
Answer / Devesh Kumar Gupta
In React.js, Real DOM refers to the actual Document Object Model that represents the HTML in a web browser. Virtual DOM, on the other hand, is an abstraction of the Real DOM built by React. The main advantage of using Virtual DOM is that it increases efficiency by minimizing the direct manipulation of the Real DOM and only updating the parts of the DOM that actually need to change.
| Is This Answer Correct ? | 0 Yes | 0 No |
List some advantages of reactjs?
Which feature can we use to cause a component to render only when its id changes?
What are reacted portals?
List down the components of redux?
Why do we need a router in react?
What is the difference between various react component lifecycle methods?
Explain about the standard javascript toolchain, transpilation, jsx?
How can we find the version of react at runtime in the browser?
How can you embed two or more components into one?
How to set state with a dynamic key name?
What do you understand by virtual dom? Explain its working.
List some features of reactjs?