docs: use named component export and improve qiankun config #10848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
经 主应用访问微应用的时候,微应用服务掉线,主应用会报错,请问我该怎么捕获这个错误?并处理他 #10824 反馈发现,现在无法在配置文件里使用 tsx ,序列化写文件的过程中函数都会被清除掉,故删除 qiankun 在配置文件中使用
errorBoundary
的部分。所有匿名函数改为具名函数,防止误导导致 react refresh 不生效。