adobe / adobe/react-webcomponent
Support style/link optional parameters in createCustomElement to style wrapped React component.
- Ngôn ngữ chính
- JavaScript
- Star
- 104
- Fork
- 20
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Expected Behaviour
In case of using Webpack Minicssextractplugin or StyleLoaderPlugin I want to be able to pass generated styles inside web component to style React component.
### Actual Behaviour
Right now only inline styles in React component will work behind shadow dom.
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
Try to wrap React component with css modules.
#### Platform and Version
any
P.S. I could contribute code to add this functionality.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ điểm vào createCustomElement được đề cập trong issue và theo dõi cách component React được bọc được đặt phía sau shadow DOM. Xác định cách các tham số style và link tùy chọn cần truyền CSS được tạo từ CSS modules, Webpack MiniCssExtractPlugin hoặc StyleLoaderPlugin vào component. Hoàn thành khi các style được tạo bên ngoài có thể áp dụng style cho component được bọc, không chỉ các style inline của React.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, react, webpack
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100