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.6
Overall Rating
78%
12%
7%
1%
2%
Reviews
M
Mohanlal Khhurana
5
Very helpful course in learning ReactJS
Z
Zargam hussain
5
Thakyou LearnVern for providing a amazing course.
A
Abdul Sattar
5
Please update this course some topics are deprecated.
M
Muhammad Usman
5
Amazing course
Y
Yash Patel
5
Superb Course Thanks for sharing
K
Karan
5
Learnvern All Courses are Great Thanks To Provide Best Content.
Me Aapka Life Time Tak Abhari Rahunga
Thanks
A
Ankush Mittal
4
resources me jake download ki file but file open krne pr usme kuch hi aahra
S
satyam pandey
4
resourse link is not working
N
Niyyer Abbas
5
good
T
Tanay Lohani
5
very good course. Content Delivery of Trainer is very very awesome. I suggest everyone who want to learn react I prefer learn vern
Share a personalized message with your friends.