StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Frameworks
  4. Front End Frameworks
  5. Polymer vs Stencil

Polymer vs Stencil

OverviewDecisionsComparisonAlternatives

Overview

Polymer
Polymer
Stacks557
Followers463
Votes122
GitHub Stars22.1K
Forks2.0K
Stencil
Stencil
Stacks90
Followers110
Votes0

Polymer vs Stencil: What are the differences?

## Introduction

## Key Differences between Polymer and Stencil

1. **Rendering Performance**: Polymer uses a two-way data binding system, which can lead to performance issues as every change in the model updates the view immediately. On the other hand, Stencil utilizes a virtual DOM and asynchronous rendering, improving performance by only updating the necessary parts of the DOM when changes occur. This approach can result in faster rendering and improved efficiency.

2. **Component Structure**: Polymer follows a traditional component-based approach, where all components are defined within HTML elements. In contrast, Stencil allows developers to write components using a JSX-like syntax, providing more flexibility and improving code readability. Stencil's component structure is easier to maintain and adapt, making it more developer-friendly.

3. **State Management**: Although both Polymer and Stencil support state management within components, Stencil offers better support for complex state management with the use of the @State decorator. This allows developers to define and manage component state more effectively, enhancing overall application scalability and code organization.

4. **Tooling and Developer Experience**: Stencil provides a more comprehensive toolkit and ecosystem for building web components, with additional features like server-side rendering, lazy loading, and better TypeScript integration. This robust set of tools enhances the developer experience by simplifying the development process and improving code quality.

5. **Community Support and Updates**: Polymer has been around longer and has a larger community base, offering more resources, tutorials, and support. However, Stencil is backed by the Ionic team and benefits from regular updates and improvements. This ongoing development ensures that Stencil remains up-to-date with the latest web standards and technologies, making it a reliable choice for building modern web applications.

## In Summary, Polymer and Stencil differ in rendering performance, component structure, state management, tooling, developer experience, and community support.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Polymer, Stencil

Gericke
Gericke

Jul 27, 2020

Needs adviceon.NET Core.NET CoreJavaScriptJavaScriptReactReact

Hi,

I am looking into solutions for reusable components for an existing #MVC project which is build on .NET Core. Currently some functionality is being reuses via JavaScript. I have React experience so I know I can create React components and then reference it on the MVC app. The only problem is I do not know the full extent of it as the current app uses a lot of 3rd party libraries, not sure how that will effect React components. I am currently looking into WebComponents which is also another way for creating reusable components and it is compatible with any JavaScript library based on what I have seen on the website. Also to take in consideration that it should cause a re-write of the system.

So my question is, to future-proof reusable components, which will be best React or Web Components? And which will be more reliable to use with 3rd party libraries?

49.1k views49.1k
Comments

Detailed Comparison

Polymer
Polymer
Stencil
Stencil

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.

Stencil combines some of the best features from traditional frameworks, but outputs 100% standards-compliant Custom Elements, part of the Web Component spec.

-
Web Component-based; Asynchronous rendering pipeline; TypeScript support; One-way Data Binding; Component prerendering; Simple component lazy-loading; JSX support; Dependency-free components
Statistics
GitHub Stars
22.1K
GitHub Stars
-
GitHub Forks
2.0K
GitHub Forks
-
Stacks
557
Stacks
90
Followers
463
Followers
110
Votes
122
Votes
0
Pros & Cons
Pros
  • 52
    Web components
  • 30
    Material design
  • 14
    HTML
  • 13
    Components
  • 5
    Open source
Cons
  • 1
    Last version is like 2 years ago? that's totally rad
No community feedback yet
Integrations
No integrations available
npm
npm
Node.js
Node.js
Vue.js
Vue.js
React
React
jQuery
jQuery
AngularJS
AngularJS
Ember.js
Ember.js

What are some alternatives to Polymer, Stencil?

Bootstrap

Bootstrap

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

Foundation

Foundation

Foundation is the most advanced responsive front-end framework in the world. You can quickly prototype and build sites or apps that work on any kind of device with Foundation, which includes layout constructs (like a fully responsive grid), elements and best practices.

Semantic UI

Semantic UI

Semantic empowers designers and developers by creating a shared vocabulary for UI.

Materialize

Materialize

A CSS Framework based on material design.

Material Design for Angular

Material Design for Angular

Material Design is a specification for a unified system of visual, motion, and interaction design that adapts across different devices. Our goal is to deliver a lean, lightweight set of AngularJS-native UI elements that implement the material design system for use in Angular SPAs.

Material-UI

Material-UI

Material UI is a library of React UI components that implements Google's Material Design.

Blazor

Blazor

Blazor is a .NET web framework that runs in any browser. You author Blazor apps using C#/Razor and HTML.

Quasar Framework

Quasar Framework

Build responsive Single Page Apps, SSR Apps, PWAs, Hybrid Mobile Apps and Electron Apps, all using the same codebase!, powered with Vue.

Nuxt.js

Nuxt.js

Nuxt.js presets all the configuration needed to make your development of a Vue.js application enjoyable. You can use Nuxt.js for SSR, SPA, Static Generated, PWA and more.

UIkIt

UIkIt

UIkit gives you a comprehensive collection of HTML, CSS, and JS components which is simple to use, easy to customize and extendable.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase