3 ms·
Time for 2.0 – Polymer Project
- shakna 9y agoI'm confused. > One of the most exciting features of Polymer 2.0 is support for ES6 class-based syntax, so web components built with Polymer look essentially native. What does ES6 classes have to do with a component looking native?
- crashdown 9y agoPossibly relates to how the syntax will be very similar to how to write native custom elements with ES6 as shown in the specifications here: https://w3c.github.io/webcomponents/spec/custom/#custom-elements-autonomous-example https://w3c.github.io/webcomponents/spec/custom/#custom-elem...
- AndreasGalster 9y agoPolymer used to have it's own way of declaring web components to get rid of lots of boilerplate. With v1 of webcomponents, the syntax is similar to React and other class based component frameworks and since v1 is already supported in multiple browsers, they removed the abstractions and are now using native webcomponents' syntax.