top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What Is Shadow Dom? How Is It Helping Angular 2 To Perform Better?

+1 vote
723 views
What Is Shadow Dom? How Is It Helping Angular 2 To Perform Better?
posted Dec 2, 2017 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Shadow DOM refers to a subtree of DOM elements that renders as part of the document, but not into the main document DOM tree.

When we are creating a component in Angular 2, a shadow DOM is created and our template gets loaded into it (not by default).

answer Apr 30, 2018 by Kuldeep Apte
...