From the documentations:
When a component is instantiated, Angular
creates a shadow DOM for the component. loads the selected template into the shadow DOM. creates a child Injector which is configured with the appInjector for the Component.
But, as far as I know, shadow DOM is not supported yet in IE, Safari, and even in default configuration of Firefox!
Considering the fact that shadow DOM is not a feature that can be easily added to browser via a js library or something, how will be browser support for angular2?
PS: forgive me for calling IE and Safari (specifically IE) popular browsers!
Angular 2 has two modes for Shadow DOM: emulated & native. In other words, browsers without Shadow DOM support will get an effective but slower polyfill.
Discussion & Source code
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With