Does Angular 2 use Shadow DOM or a Virtual DOM?
What does Angular 2 use to update the DOM. Is it Shadow DOM or Virtual DOM ? Was there any such concept in Angular 1? Günter Zöchbauer Angular2 doesn't use shadow DOM (default) nor virtual DOM . With encapsulation: ViewEncapsulation.Emulated (default) there is no shadow DOM because style encapsulation is only emulated. encapsulation: ViewEncapsulation.Native enables shadow DOM on browsers that support it natively or it's again emulated when the webcomponents polyfill is loaded. Shadow DOM is also not targeting performance as virtual DOM is, but style encapsulation. Angular2 doesn't use virtual