The difference between Angular’s Emulated Shadow DOM and native Shadow DOM

In Angular, components styles can be encapsulated. There are three different encapsulation strategies available. None, Emulated and ShadowDom.

None is probably the least interesting. It just disables encapsulation completely. But what is the difference between Emulated and ShadowDom?Let’s find out!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kevin Kreuzer

Kevin Kreuzer

2.2K Followers

Passionate freelance frontend engineer. ❤️ Always eager to learn, share and expand knowledge.