Need advice about which tool to choose?Ask the StackShare community!
Polymer vs Web Components: What are the differences?
Developers describe Polymer as "A new library built on top of Web Components, designed to leverage the evolving web platform on modern browsers". Polymer is a new type of library for the web, designed to leverage the existing browser infrastructure to provide the encapsulation and extendability currently only available in JS libraries. Polymer is based on a set of future technologies, including Shadow DOM, Custom Elements and Model Driven Views. Currently these technologies are implemented as polyfills or shims, but as browsers adopt these features natively, the platform code that drives Polymer evacipates, leaving only the value-adds. On the other hand, Web Components is detailed as "A set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web apps". Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps.
Polymer and Web Components belong to "Front-End Frameworks" category of the tech stack.
Polymer is an open source tool with 21.4K GitHub stars and 2.02K GitHub forks. Here's a link to Polymer's open source repository on GitHub.
Bloomberg LP, MobilePay, and Lumeneo.com are some of the popular companies that use Polymer, whereas Web Components is used by Mogic GmbH, Health Dynamics, and Invia Flights Germany GmbH. Polymer has a broader approval, being mentioned in 61 company stacks & 296 developers stacks; compared to Web Components, which is listed in 15 company stacks and 11 developer stacks.
Pros of Polymer
- Web components52
- Material design30
- HTML14
- Components13
- Open source5
- It uses the platform4
- Designer friendly. HTMLX concepts3
- Like the interesting naming convention for elements1
Pros of Web Components
Sign up to add or upvote prosMake informed product decisions
Cons of Polymer
- Last version is like 2 years ago? that's totally rad1