Re point 2: what happens when you have 20 custom elements that all depend on the same library? Do they all bundle the library so that we end up with 20x duplicate payload, or do they externalize this burden to the user (by forcing the user to include the library globally)?
Re point 1: the problem being that the moment you introduce a specific data flow solution, the…
Evan You
35

HTML Imports do de-duping. That why you’ll see projects with Polymer components all <link rel=”import” href=”/path/to/polymer.html”> at the top without concern.

Like what you read? Give Alex Russell a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.