Explanation: why reactjs use virtual Dom concept, how does it different from orginal Dom. Explain with suitable example . Also explain how react Dom render jsx components
How react virtual Dom works explain in a simple words .
Explanation: why reactjs use virtual Dom concept, how does it different from orginal Dom. Explain with suitable example . Also explain how react Dom render jsx components
How react virtual Dom works explain in a simple words .
When a user interacts with a React application, the virtual DOM is updated with the new state of the application. React then calculates the difference between the previous and current virtual DOM, and updates only the parts of the actual DOM that need to be changed. This approach reduces the number of DOM manipulations required, which results in better performance and faster updates to the user interface.