manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
155 stars 49 forks source link

Performance, Polyfill #112

Closed lilletech closed 7 years ago

lilletech commented 8 years ago

Polyfill should be imported only when necessary

https://aerotwist.com/blog/polymer-for-the-performance-obsessed/

manolo commented 8 years ago

Well, we load the polyfill once and asynchronously, the only thing we don't do related with this article is that we load it with chrome because we need some utilities like HTMLImport.whenready but polyfill shouldn't introduce any issue in chrome.

manolo commented 7 years ago

Fixed, try 1.7.0.0-SNAPSHOT in the meanwhile 1.7.0.0 is released. You can check in our demo http://vaadin.github.io/gwt-polymer-elements/demo