Top "Web-component" questions

Web components are reusable client-side elements made using native code or third party libraries.

What do /deep/ and ::shadow mean in a CSS selector?

In looking at Polymer, I see the following CSS selector in the Styles tab of Chrome 37's developer tools: I've …

css html polymer web-component shadow-dom
React, Uncaught ReferenceError: ReactDOM is not defined

I am doing this Router tutorial. My App.jsx file: import React from 'react'; import ReactDOM from 'react-dom'; import { Router, …

javascript reactjs react-router web-component
How to implement a dynamic form with controlled components in ReactJS?

As I am looking at the examples in the reference for controlled form components in react.js official website, I …

javascript reactjs web-component
Apply CSS dynamically with JavaScript

What is a good way to apply styling dynamically (i.e. the value of styles are created at runtime) to …

javascript css encapsulation styling web-component
Is Shadow DOM fast like Virtual DOM in React.js?

Does implementing Shadow DOM in my projects will make them faster like virtual DOM that's used by React?

dom web-component shadow-dom virtual-dom
Is it possible to access Shadow DOM elements through the parent document?

This question is more aimed at user-created shadow DOM elements, but for accessibility I'll use the date input type for …

javascript html web-component shadow-dom
How to get element in user-agent shadow root with JavaScript?

I need get elements from Shadow DOM and change it. How i can do it? <div> <input …

javascript html web-component shadow-dom
Override styles in a shadow-root element

Is there a way to change styles found in a shadow element? Specifically, extend/overwrite some properties found in a …

javascript css web-component shadow-dom
How to remove a shadow root from an HTML element adorned with a Shadow DOM from a template?

I'm exploring imports, templates, shadow DOM and custom elements in Chrome Canary (33.0.1712.3). In a grid layout I have a particular …

html web-component shadow-dom html5-template
Are Web Components actually useable in IE11 and Edge?

Web Components are the hot new thing, and a true web standard, everybody is talking about them and presumably using …

internet-explorer-11 web-component polyfills custom-element