Tag

shadow-dom

0 views collected around this technical thread.

HelloTech
HelloTech
Jul 16, 2024 · Frontend Development

Quark Design 2.0 Release: Extending Web Component Styling with ::part

Quark Design 2.0 introduces ::part support, enabling developers to style any internal part of a Web Component’s shadow DOM from outside—surpassing the previous reliance on limited CSS variables—while remaining fully backward‑compatible, cross‑framework, and demonstrated via a live StackBlitz example.

CSS ::partFront-End DevelopmentWeb Components
0 likes · 5 min read
Quark Design 2.0 Release: Extending Web Component Styling with ::part
360 Tech Engineering
360 Tech Engineering
Jun 26, 2024 · Frontend Development

Understanding Web Components: Custom Elements, HTML Templates, and Shadow DOM

This article explains the evolution, core specifications, and practical usage of Web Components—including Custom Elements, HTML templates, and Shadow DOM—while comparing them to modern front‑end frameworks and demonstrating how to build reusable, encapsulated UI components.

Component EncapsulationCustom ElementsWeb Components
0 likes · 13 min read
Understanding Web Components: Custom Elements, HTML Templates, and Shadow DOM
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.

Custom ElementsTemplatesWeb Components
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.

Custom ElementsHTML TemplatesJavaScript
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.

Custom ElementsTemplatesWeb Components
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.

Custom ElementsJavaScriptWeb Components
0 likes · 57 min read
Understanding Web Components: Features, Lifecycle, and Integration with Modern Frameworks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2022 · Frontend Development

Implementing a CSS Sandbox for Qiankun: Shadow DOM and Scoped CSS Isolation

This article explains how to build a CSS sandbox for Qiankun micro‑frontends by using Shadow DOM for strict style isolation and a Scoped CSS approach for experimental isolation, providing step‑by‑step code examples, underlying principles, and a final Web Component implementation.

CSS sandboxScoped CSSWeb Component
0 likes · 11 min read
Implementing a CSS Sandbox for Qiankun: Shadow DOM and Scoped CSS Isolation
DataFunSummit
DataFunSummit
Sep 27, 2022 · Frontend Development

Web Watermark Techniques: Visible, Dynamic, and Invisible Watermarks

This article explains various web watermark methods—including simple visible logos, full‑page overlays, dynamic canvas‑generated marks, SVG‑based text watermarks, and robust invisible (blind) watermarks—while covering implementation details, security considerations, and protection mechanisms such as Shadow DOM and MutationObserver.

SVGWatermarkcanvas
0 likes · 16 min read
Web Watermark Techniques: Visible, Dynamic, and Invisible Watermarks
政采云技术
政采云技术
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.

Custom ElementsWeb Componentscomponent library
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.

Custom ElementsFront-endWeb Components
0 likes · 5 min read
Introduction and Practice of Web Components and Shadow DOM
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.

Custom ElementsJavaScriptSDK
0 likes · 15 min read
Technical Decision and Practices of Using Web Components in EE NEXT SDK
ByteFE
ByteFE
Nov 4, 2021 · Frontend Development

Understanding Frameworks and Web Components in Frontend Development

This article explains why modern frontend developers use frameworks, compares React, Angular and Vue, discusses their advantages and drawbacks, and introduces Web Components—including custom elements, Shadow DOM, templates, slots, lifecycle callbacks, compatibility, and practical code examples—showing how they can complement or replace framework functionality.

Custom ElementsFrameworksJavaScript
0 likes · 29 min read
Understanding Frameworks and Web Components in Frontend Development
LOFTER Tech Team
LOFTER Tech Team
Jul 6, 2021 · Frontend Development

Micro‑Frontend Architecture: Browser Sandbox, Shadow DOM, and Proxy Techniques

This article explains the concept of micro‑frontend, compares common implementation approaches such as dynamic module loading and browser sandboxing, details the use of Shadow DOM and Proxy for isolation, introduces frameworks like qiankun and hot‑chocolate, and describes an application platform that streamlines build, upload, and release workflows for complex front‑end projects.

Proxybrowser sandboxfrontend architecture
0 likes · 17 min read
Micro‑Frontend Architecture: Browser Sandbox, Shadow DOM, and Proxy Techniques
360 Tech Engineering
360 Tech Engineering
Oct 14, 2019 · Frontend Development

Understanding and Using Shadow DOM: Concepts, Features, and Practical Examples

This article explains why Shadow DOM exists, introduces its core concepts and features, and provides step‑by‑step code examples for creating, styling, and defining custom elements with Shadow DOM, while also covering compatibility and best practices for modern frontend development.

CSSCustom ElementsJavaScript
0 likes · 11 min read
Understanding and Using Shadow DOM: Concepts, Features, and Practical Examples
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.

Custom ElementsJavaScriptWeb Components
0 likes · 26 min read
Web Components: Can Native Custom Elements Replace Frontend Frameworks?
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jun 2, 2017 · Frontend Development

Understanding Shadow DOM: Concepts, Usage, and Comparison with Virtual DOM

This article introduces the fundamentals of Shadow DOM, explains its core concepts, usage patterns, key features, and API, compares it with Virtual DOM, demonstrates practical code examples for creating and styling shadow roots, handling slots and events, and discusses browser support and related tooling.

CSS ScopingJavaScriptWeb Components
0 likes · 9 min read
Understanding Shadow DOM: Concepts, Usage, and Comparison with Virtual DOM
Hujiang Technology
Hujiang Technology
Dec 27, 2016 · Frontend Development

Combining AMP and Progressive Web Apps: Strategies and Implementation

This article explains how Progressive Web Apps (PWAs) and Accelerated Mobile Pages (AMP) can be combined, compares their strengths and limitations, and provides practical integration patterns such as AMP-as-PWA, AMP-to-PWA, and AMP-in-PWA, including service‑worker setup and shadow‑DOM techniques.

AMPPWAfrontend
0 likes · 9 min read
Combining AMP and Progressive Web Apps: Strategies and Implementation