我正在研究 Angular 4.0,并且我已经用 Polymer 做了一些 Web 组件。从用例的角度来看,Polymer 中的角度组件和自定义元素看起来是相同的。角度组件还提供一些特定于框架的生命周期回调。
如果有的话有什么区别?
web-component custom-element angular
angular ×1
custom-element ×1
web-component ×1