> 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?
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.
3 comments
[ 4.8 ms ] story [ 12.8 ms ] thread> 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?