Tagged articles
17 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Nov 1, 2025 · Frontend Development

Unlock JavaScript’s Static Initialization Blocks: Boost Your Custom Elements

This article explains JavaScript static initialization blocks, shows how they simplify shared resources and custom element setup, provides practical code examples, discusses benefits, browser compatibility issues, and offers guidance on when and how to use them effectively.

JavaScriptWeb Developmentcustom elements
0 likes · 6 min read
Unlock JavaScript’s Static Initialization Blocks: Boost Your Custom Elements
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 10, 2024 · Frontend Development

Understanding Web Components: Core Concepts, Custom Elements, Shadow DOM, Slots, and Templates

This article introduces Web Components—a W3C‑standardized technology supported by all major browsers—explaining its core concepts (Custom Elements, Shadow DOM, Templates, Slots), providing step‑by‑step code examples, discussing lifecycle callbacks, compatibility, polyfills, and how it compares with frameworks like React and Vue.

Shadow DOM__slots__custom elements
0 likes · 22 min read
Understanding Web Components: Core Concepts, Custom Elements, Shadow DOM, Slots, and Templates
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 10, 2023 · Frontend Development

Introduction to Web Components: History, Concepts, Custom Elements, Shadow DOM, Template and Slot

This article provides a comprehensive overview of Web Components, covering their development timeline, core concepts such as Custom Elements, Shadow DOM, templates and slots, practical code examples, lifecycle callbacks, debugging tools, and real‑world usage scenarios for modern frontend development.

HTML TemplatesJavaScriptShadow DOM
0 likes · 12 min read
Introduction to Web Components: History, Concepts, Custom Elements, Shadow DOM, Template and Slot
TAL Education Technology
TAL Education Technology
Jul 6, 2023 · Frontend Development

Introduction to Web Components: Custom Elements, Shadow DOM, Templates, and Slots

This article introduces Web Components, explains the three core technologies—custom elements, Shadow DOM, and templates with slots—provides detailed code examples for each, discusses lifecycle callbacks, demonstrates encapsulation benefits, and offers practical guidance on using them across modern front‑end frameworks.

Shadow DOM__slots__custom elements
0 likes · 12 min read
Introduction to Web Components: Custom Elements, Shadow DOM, Templates, and Slots
ByteFE
ByteFE
Dec 28, 2022 · Frontend Development

Understanding Web Components: Features, Lifecycle, and Integration with Modern Frameworks

This article explains what Web Components are, details their core features such as Custom Elements, Shadow DOM, and HTML templates, demonstrates practical usage with React, Vue, and micro‑frontend scenarios, compares them to traditional frameworks, and discusses advantages, limitations, and related tools like Lit and Omi.

JavaScriptMicro FrontendsShadow DOM
0 likes · 57 min read
Understanding Web Components: Features, Lifecycle, and Integration with Modern Frameworks
政采云技术
政采云技术
May 31, 2022 · Frontend Development

Practical Guide to Web Components with LitElement

This article provides a comprehensive overview of Web Components and demonstrates how LitElement simplifies component creation, reactive properties, templating, styling, lifecycle management, complex data handling, two‑way binding, and directives, offering code examples and best‑practice recommendations for modern frontend development.

LitElementReactive Propertiescustom elements
0 likes · 23 min read
Practical Guide to Web Components with LitElement
政采云技术
政采云技术
May 10, 2022 · Frontend Development

Building a UI Component Library with Web Components

This article explains how to create reusable UI components using Web Components by covering the three core concepts—custom elements, Shadow DOM, and HTML templates—demonstrating a button example, discussing component communication, two‑way binding, library packaging, framework integrations, current limitations, and reference resources.

Component LibraryShadow DOMcustom elements
0 likes · 18 min read
Building a UI Component Library with Web Components
HelloTech
HelloTech
Jan 25, 2022 · Frontend Development

Introduction and Practice of Web Components and Shadow DOM

The article explains Web Components and their three core technologies—Template, Shadow DOM for CSS isolation, and Custom Elements—demonstrates building a dynamic HTML5 video component with lifecycle callbacks, and discusses use cases such as component libraries, cross‑platform development, micro‑frontends, and the feature‑rich Quark library.

Component ArchitectureFront-endShadow DOM
0 likes · 5 min read
Introduction and Practice of Web Components and Shadow DOM
Taobao Frontend Technology
Taobao Frontend Technology
Jan 5, 2022 · Frontend Development

Embedding Flutter Widgets as Custom Elements in Kraken's Web Engine

This article explains how Kraken, a high‑performance Web rendering engine, integrates Flutter widgets as custom elements, detailing the component architecture, registration process, rendering pipeline, adapter mechanisms, and advanced use cases such as optimizing waterfall‑flow performance for seamless hybrid Web‑Flutter applications.

FlutterHybrid RenderingKraken
0 likes · 14 min read
Embedding Flutter Widgets as Custom Elements in Kraken's Web Engine
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 5, 2022 · Frontend Development

Embedding Flutter Widgets as Custom Elements in Kraken for High‑Performance Web Rendering

This article explains how to integrate Flutter widgets into the Kraken web rendering engine as custom elements, detailing the architecture, rendering pipelines, code examples, and advanced scenarios such as waterfall‑flow optimization to achieve dynamic, high‑performance, and easily extensible front‑end applications.

FlutterKrakencustom elements
0 likes · 15 min read
Embedding Flutter Widgets as Custom Elements in Kraken for High‑Performance Web Rendering
ByteFE
ByteFE
Nov 22, 2021 · Frontend Development

Technical Decision and Practices of Using Web Components in EE NEXT SDK

This document details the EE NEXT SDK team's technical decisions to adopt Web Components for front‑end component development, explains the benefits and drawbacks of Custom Elements and Shadow DOM, outlines challenges such as cross‑stack compatibility, bundle size, style isolation, and provides practical implementation guidance and best‑practice recommendations.

JavaScriptSDKShadow DOM
0 likes · 15 min read
Technical Decision and Practices of Using Web Components in EE NEXT SDK
ELab Team
ELab Team
Sep 22, 2021 · Frontend Development

Can Web Components Replace Frontend Frameworks? A Deep Dive

This article examines why modern frontend developers adopt frameworks, outlines their advantages and drawbacks, and then explores Web Components—custom elements, Shadow DOM, and HTML templates—as native alternatives that could potentially replace framework‑based componentization while preserving performance and compatibility.

JavaScriptcustom elementsfrontend frameworks
0 likes · 30 min read
Can Web Components Replace Frontend Frameworks? A Deep Dive
Qunar Tech Salon
Qunar Tech Salon
Aug 23, 2019 · Frontend Development

Web Components: Can Native Custom Elements Replace Frontend Frameworks?

This article explains how modern Web Components—custom elements, Shadow DOM, slots, and native element extensions—provide a framework‑free way to build reusable UI, offering better performance, true CSS scoping, and progressive enhancement while discussing when abandoning traditional frameworks makes sense.

JavaScriptShadow DOMcustom elements
0 likes · 26 min read
Web Components: Can Native Custom Elements Replace Frontend Frameworks?
QQ Music Frontend Team
QQ Music Frontend Team
Oct 27, 2018 · Frontend Development

Build Reusable UI with Web Components: A Step‑by‑Step Counter Example

Learn how to create reusable, encapsulated UI components using Web Components by building a simple counter element with Custom Elements, Templates, Shadow DOM, properties, events, and attributes, and see how to integrate it into any framework, handle data binding, and dispatch custom events.

JavaScriptShadow DOMcustom elements
0 likes · 10 min read
Build Reusable UI with Web Components: A Step‑by‑Step Counter Example