Re:Time for 2.0 – Polymer Project
by AndreasGalster on Wednesday May 17, 2017 @05:05AM
(#14356731)
Polymer 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.
Possibly 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-elem...
> 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?