4 ms·
Is Angular ever going to support web standards such as web components?
by Touche 10y ago
Is Angular ever going to support web standards such as web components?
- robwormald 10y agoYou can already use most simple web components in Angular without issues - as far as Angular is concerned, it's just another DOM element. We also support native (or emulated) Shadow DOM out of the box. It gets a little more interesting when you start interleaving Angular and WebComponents, but one of the deprecations in 4.0 (regarding Angular's use of the <template> tag) is squarely aimed at making that easier in the future.
- Touche 10y agoThanks, what I was asking is when are Angular components going to be Web components?
- robwormald 10y agoIt's unlikely we'll ever have developers write Custom Elements directly - that said, the View Engine rewrite we just did gives us the ability to (theoretically) have our compiler output Custom Elements. We're investigating some use cases on this.