Ref: https://www.blog.duomly.com/what-is-the-difference-between-shadow-dom-and-virtual-dom/Table of contents:
- DOM (Document Object Model) is a fundamental concept in front-end, and for sure, everyone who tried to learn programming has heard about it more than once. For beginners, it’s not so easy to understand what it exactly is and how to manipulate it. DOM manipulation isn’t so easy and comfortable, and the most important, it brings a lot of issues with performance. Nowadays, there are two essential concepts of DOM came with progressive web frameworks like Angular, React.js or Vue.js, Shadow DOM and Virtual DOM. In this article, I want to explain:what is the Document Object Model (DOM),
- what is Shadow DOM,
- what is Virtual DOM,
- what is the difference between Shadow DOM and Virtual DOM
No comments:
Post a Comment