module-federation-examples icon indicating copy to clipboard operation
module-federation-examples copied to clipboard

React 19 host with React 18 remote

Open JugalJoshi8 opened this issue 8 months ago • 4 comments

Is there a way we can have React 19 host with React 18 remote? I tried upgrading basic-host-remote/app1 to react 19, but getting error.

Image

Image

JugalJoshi8 avatar Apr 01 '25 09:04 JugalJoshi8

Hi @ScriptedAlchemy , could you please help on this

JugalJoshi8 avatar Apr 03 '25 19:04 JugalJoshi8

Try with something like rsbuild example. Since it's not a meta framework it's probably less overhead. The meta probably needs to be updated as well.

ScriptedAlchemy avatar Apr 04 '25 11:04 ScriptedAlchemy

Try with something like rsbuild example. Since it's not a meta framework it's probably less overhead. The meta probably needs to be updated as well.尝试使用类似 rsbuild example 的东西。由于它不是元框架,因此开销可能更少。元数据可能也需要更新。

I also encountered this requirement. It would be nice if I could build an example in this repository

linxianxi avatar Apr 22 '25 05:04 linxianxi

Use a runtime plugin with custom resolver on the resolve share

ScriptedAlchemy avatar Apr 22 '25 07:04 ScriptedAlchemy