CocooDanielle
CocooDanielle
with ModuleFederationPlugin you can use import statements syntax. if you are using pure MF runtime to register modules and load modules, you must use loadRemote instead of import statements syntax...
@vbingbingv 用 1.19.5-beta-20250721072428.0 这个版本试下哈
i think we should let the `errorLoadRemore` hook catch this error. and after that we could do something to prevent this error crashes the whole app.
Hi @hrmcdonald and @DGAISmith, I'm pleased to inform you that we've merged the PR addressing this issue. We've also published a comprehensive guide on handling remote rendering errors, which you...
@hrmcdonald @cain Sorry for the late response. I will take a look tomorrow. I think this is not as expected. When fetch manifest.json fails, we expect to trigger the errorLoadRemomte...
@hrmcdonald I think you can set `errorLoadRemote` like this, because when fetch manifest json failed, we will trigger `errorLoadRemote` hook and the `lifecycle` is exactly 'afterResolve', So you can set...
@cain Haha, Because there are many factors that may influence remote module rendering, so we handle it in the unified `errorLoadRemote` hook. In this hook we will provide detailed module...
@hrmcdonald OK, Cool! With no problem, I will update my mock data with data Cain provided. Thank you everyone!~
@medici 暂时可以在自定义 provider 里面自定义下 react 19 的 render 和 destory 方法哈,我们后续支持下