DEV Community

Cover image for #FRONTEND #DEVELOPEMENT #Angular #React
Sunil joshi
Sunil joshi

Posted on

#FRONTEND #DEVELOPEMENT #Angular #React

can anyone tell me why don't angular use virtual dom instead regular dom. if it's happen then angular can beat react easily.

Top comments (2)

Collapse
 
gilfewster profile image
Gil Fewster

Both React and Angular have their own techniques to optimise performance when making changes to the DOM. React uses its virtual DOM, but Angular has its own wizardry going on.

I don't work with Angular so take my opinion with a grain of salt, but most articles I see agree that Angular's latest version is just as performant as React when it comes to updating the DOM.


NOTE
For the sake of clarity, I should point out that virtual DOM and Shadow DOM are not the same thing. This article does a good job of explaining the difference.

Collapse
 
iamsunil25 profile image
Sunil joshi

thanks. and angular11 is a great framework for making web application. so i suggest you that you should learn angular11.