Polymer / polymer-starter-kit

A starting point for Polymer apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lazy-import not actually used?

trading-peter opened this issue · comments

commented

Here in my-app are link elements with rel="lazy-import" defined. I first thought that the start kit actually uses them for lazy loading the views. But turns out that those links are not used at all. Instead importHref is used here.

Maybe I'm just missing the use of those link elements, or they are in fact useless here?

There are a work in progress pull request about that: #998.

commented

Ah, thanks. I only searched the issues not the pr section for that. So I missed this.

Currently, the rel=lazy-imports that you see are just there to make the linter aware that the elements exist. My PR actually uses those imports.