jwnelen / committee-template

0 stars 0 forks source link

Use ES modules instead of HTML imports #1

Open TimvdLippe opened 6 years ago

TimvdLippe commented 6 years ago

I inspected your index.html and saw you were using HTML imports. This standards proposal is discontinued and will therefore never ship. Instead, we should use ES modules: https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/ This is an example of the two patterns: https://github.com/Polymer/tools/tree/master/packages/modulizer#example

jwnelen commented 6 years ago

Thanks for noticing, I'll try update this. I hope that together with some more experienced web developers we could agree on the best way to handle this problem.