Tuesday, October 6, 2020

What is DOM, Shadow DOM and Virtual DOM?

 https://www.blog.duomly.com/what-is-the-difference-between-shadow-dom-and-virtual-dom/

DOM - Document Object Module

Shadow DOM - DOM components

Virtual DOMVirtual DOM is a concept of DOM used by React.js and Vue.js. In Virtual DOM concept copy of DOM is saved in the memory and while any change is done in the DOM, it’s compared to find differences. Then browser knows which elements were changed and can update only those part of the application to avoid re-rendering all the DOM.


No comments:

Post a Comment

API interview questions

  https://www.katalon.com/resources-center/blog/web-api-testing-interview-questions/ Top 50+ Web API Testing Interview Questions [Ultimate l...