I started to learn
angular from 2016, I was very curious about the celibacy of this super hero. From my initial understanding is like, the power of
angular is only
- limited on "html decoration"
But this
JavaScript framework has the potential to re-define conventional
html-css patterns.
Modern browsers support for things like modules, classes, lambdas, generators, etc. These features fundamentally transform the JavaScript programming experience. But big changes aren't constrained merely to JavaScript. Web Components are on the horizon. The term Web Components usually refers to a collection of four related W3C specifications:
- Custom Elements - Enables the extension of HTML through custom tags.
- HTML Imports - Enables packaging of various resources (HTML, CSS, JS, etc.).
- Template Element - Enables the inclusion of inert HTML in a document.
- Shadow DOM - Enables encapsulation of DOM and CSS.
Developers can create fully encapsulated (Shadow DOM) declarative components (Custom Elements). Each components has its own View (Template element). Devs can package these components so that other devs can re-use it (HTML import). Now a days all the browsers will support these specifications so the developers can explode to create re-usable components and can address common problems so that HTML tool kit will grow tremendously.
Comments
Post a Comment