what is the main problem between Js and DOM that Angular / React / Vue try to solve?

Issue

I want to know what is main problem between javascript and DOM that Angular / React / Vue try to solve,
Please guide me I’m new learning Angular.
enter image description here

Solution

React and Vue use a pattern called the Virtual DOM to optimize updating the DOM in order to render changes faster. Angular uses another method with similar motivations. Web technologies weren’t originally designed to build robust applications in the browser. These frameworks attempt to enhance application performance and improve the developer and end-user experience until web standards catch up to modern use cases.

The virtual DOM (VDOM) is a programming concept where an ideal, or “virtual”, representation of a UI is kept in memory and synced with the “real” DOM by a library such as ReactDOM. This process is called reconciliation.

Source: https://reactjs.org/docs/faq-internals.html

Answered By – wdm

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published