Comments (3)
Is this still relevant? I would be happy to start this off @bvaughn
from react.dev.
This issue is all yours! ๐
I've added an "in-progress" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim.
Cheers!
from react.dev.
Hey there, original reporter here. The problem with react and web components is
- Events will not work (because they are listened to at the root of the website where they don't end up from a web component). I have written a workaround / hack for this: https://github.com/WeltN24/react-shadow-dom-retarget-events
- It's hard to get CSS in the shadow dom as it won't be applied from the website. I have written a webpack-loader for this which adds style tags to the shadow dom: https://github.com/WeltN24/react-web-component-style-loader . But that is not a real solution. The point is to discuss a proper solution for this problem.
from react.dev.
Related Issues (20)
- [Bug]: Not Working In Local Environment HOT 1
- [Bug]: Reusing Logic with Custom Hooks docs example doesn't work with firefox
- reconcilation topic not found
- The documentation for higher-order components seems to be missing?
- React HOT 1
- New react storiges
- [Bug]: useActionState example compilation error
- Requires Babel "^7.16.0", but was loaded with "7.12.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.
- [Omission]: useOptimistic is documented as having a required second parameter HOT 1
- Reactjs
- 25673b1c476756ec0587fb0596ab3c22b96dc52a
- Natthachaiโ
- [Bug]: Left navigation is not displayed in Chrome HOT 1
- hi
- Page 'Not Found' Error HOT 3
- [Suggestion]: Data Fetching Design Patterns in React 18
- ใป
- ใป
- Link inexistente
- [Bug]: `importMap` option on `renderTo{Pipeable|Readable}Stream` is undocumented HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.dev.