Replies: 1 comment 1 reply
-
The issue of lib-react.js being repeatedly loaded in the screenshot has been resolved, and a fix version will be released today. Reference:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://rsbuild.dev/zh/config/module-federation/options 官方文档最下面贴了两个例子。

分别拉下来不修改配置内容,跑通后控制台看react加载结果类似下面这种(两个项目不一样但表现形式相近)

即使配置了react shared,依然还是有至少部分react依赖被加载了。可以认为这部分react依赖是必须要被每个remote自身单独加载吗?是否会对singleton单实例造成影响?
Beta Was this translation helpful? Give feedback.
All reactions