Skip to content
#

micro-frontends

Here are 63 public repositories matching this topic...

kwoktung
kwoktung commented Apr 23, 2020

What happens?

在沙盒环境样式隔离的环境下。子应用document. getElementById 等API因为应用在shadowDOM里面。所以没有办法获取正确数据。建议对document.getElementById等 做打补丁处理(先在shadowDOM查询然后在去document上查询),才能达到子应用完全技术隔离。

A clear and concise description of what the bug is.

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue.

https://github.com/umijs/qiankun/blob/v2.0.0/examples/main

fahrradflucht
fahrradflucht commented Mar 1, 2019

Analogous to @feature-hub/react's FeatureAppLoader the feature-app-loader custom element should allow the integrator to pass a set of css file links.

Since both the feature-app-loader and feature-app-container have their own shadow DOM, we also need the same prop on the feature-app-container so it can inject the css link into its DOM.

Improve this page

Add a description, image, and links to the micro-frontends topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the micro-frontends topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.