@polymer/polymer: Detailed Overview & Metrics

v3.5.1(about 2 years ago)

This package is deprecated. Consider finding alternatives.Types definitions are bundled with the npm packageNumber of direct dependencies: 1Monthly npm downloads

@polymer/polymer is a library for building web components using modern web standards. It simplifies the creation of custom elements and encapsulates reusable functionality within them. Polymer leverages features like Shadow DOM, Custom Elements, and HTML Templates to provide a clean and efficient way to develop component-based web applications.

Compared to other web component libraries like Stencil and LitElement, Polymer offers a more opinionated approach with a focus on data binding and declarative syntax. However, Polymer is considered deprecated in favor of LitElement, which provides similar functionality with better performance and compatibility with modern web standards.

Alternatives:
lit-element+
lit-html+
haunted+
hybrids+
slim.js+
stencil+
svelte+
vue+
preact+
riot+

Tags: web-componentscustom-elementsshadow-domhtml-templatesdata-binding