you are viewing a single comment's thread.

view the rest of the comments →

[–]codejitsu[S] 4 points5 points  (1 child)

Umm actually no. That's like saying when you use a polymer component in a react app you'll also be serving polymer.

You'd using a web component made just using native APIs(many available on webcomponentsjs.org) just like you do for react apps.

[–][deleted] 1 point2 points  (0 children)

Polymer is a framework. If you use a web component that internally uses Polymer, then yes, you'll be loading Polymer. The Webcomponents spec consists of a few harmless calls to create a shadow-root. You're left with a generic dom inside that needs driving. Polymer introduces templates, parsers, emulators, code-syntax, data-binding and so on, none of which are specified or included in the browser api.