In this article we will briefly know about the concept of , what view-encapsulation is and how it manipulate with the DOM. We will also gonna see about some sub-concepts of view encapsulation(like Shadow DOM etc) which will give an idea of how its works. So lets get started.
In Simple words, Each component has its own styled css, which is encapsulated into its own component view and don’t affect the rest of the application.
In these, one main keyword is Shadow DOM. So what is Shadow DOM?
ShadowDOM is nothing but , it allow us to apply Scoped styles…
So as all of we know this is a simple ways of function declaration :
So this also called a function statement;
So what is function expressions?. As we seen above code(Simple function declaration…
A enthusiastic web developer ,who is curious about technologies.