Virtual DOM: React makes use of a lightweight version of the DOM called Virtual DOM (a virtual representation of the DOM). In React Virtual DOM, there is an object for every object that exists in the original DOM.
The virtual DOM (VDOM) is a programming concept in which a library like ReactDOM keeps an ideal, or "virtual," representation of a user interface in memory and syncs it with the "actual" DOM. This is referred to as reconciliation.
An effective method of updating data in web applications, such as the one we've discussed a few times, will improve efficiency. The UI in the virtual DOM renders faster and easier than the UI in the real DOM.
A virtual DOM is a JavaScript representation of the Document Object Model (DOM) used by declarative web frameworks like React, Vue.js, and Elm. It takes less time to update the virtual DOM than it does to update the actual DOM (via js).
In simple terms, virtual DOM is a memory-based duplicate of the actual DOM that is synced with the real DOM using frameworks like ReactDOM. Reconciliation is the name given to this procedure. The Virtual DOM has the same properties as the Real DOM, but it lacks the ability to update the screen's content directly.
Learner's Ratings
4.5
Overall Rating
74%
12%
8%
1%
5%
Reviews
M
Mohanlal Khhurana
5
Very helpful course in learning ReactJS
L
LOVKUSH
5
HTTP moudule ka code hee nhi hai .
Please provide Its most imp. thing in entire course.
The zip is empty
Ishwar Shankar Chavan
5
mam such a great hard work really it is ever best course for beginner to advance .......thanks mam
N
Nitish Kumar Sharma
5
What madam is telling is difficult to understand please update your faculty.
R
Ramanjjilu Naidu
5
May I know where is the source code please. and yes I am very happy to learn with you.
S
sumit kumar
5
Best Course
S
Shivam gupta
5
course is very very good but in source link not any type of css styling file when i extracted it then empty folder is shown module 4 topic is form added
please solve the issue for our practicing
Share a personalized message with your friends.