Chrome Web Components: Need Polymer?

I understand that Chrome is becoming full in terms of web component requirements.

Does this mean that the polymer is no longer needed?

+7
polymer web-component
source share
2 answers

To be clear, the platform.js layer (poly-shelves) goes away, as the built-in support becomes available in browsers, but polymer.js (the saccharization layer on top of the web components), and the elements will not. Sugar - Polymer's opinion on how to use ++ tech web components together, and elements are usually useful / can be reused.

This post describes pieces of polymer: What is the difference between political elements and AngularJS directives?

Today, it’s not entirely true that you can use polymer without including polyfills platform.js. We are working to make this possible now that one browser supports its own web components. We are not quite there yet, for example. you still need to enable platform.js in chrome 36.

+7
source share

Web components is a collective term for a technology group consisting of HTML imports, templates, custom elements, and ShadowDOM. Web components can be created with simple, simple HTML, JavaScript, and CSS. Polymer is a library that simplifies the creation of web components and adds some additional benefits, such as two-way data binding, support for touch events, and a good collection of ready-to-use components.

To support browsers, you need a polyfill, the most popular of which is webcomponents.js (formerly called platform.js). Polyfill web components come in several flavors. webcomponents.js, which fills all 4 technologies webcomponents-lite.js, which fills everything except ShadowDOM. Poly regiments are also available for each of the individual technologies. More information on polyfiles can be found here http://webcomponents.org/polyfills/

0
source share

All Articles