Replies: 1 comment 2 replies
-
|
your use of the runtime does not have any |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m currently working on a PoC that involves integrating Module Federation Runtime with
@tanstack/react-router. Here’s what I’m trying to achieve:@tanstack/react-routerand loadsremote_aandremote_bthrough Module Federation Runtime.remote_aandremote_bare micro-frontends that also use@tanstack/react-router.While I was able to get this working at build time using Module Federation, my goal is to leverage runtime Module Federation. However, when I attempt to navigate to a remote app from the host, I encounter the following error:
https://github.com/dourkk/nx-module-federation-tanstack-router?tab=readme-ov-file#actual-behavior
It seems that the issue might be related to
@tanstack/react-routernot being shared or available at runtime. Has anyone successfully implemented Module Federation with@tanstack/react-routerat runtime?Here’s a PoC that reproduces the issue. https://github.com/dourkk/nx-module-federation-tanstack-router
Any insights or suggestions would be greatly appreciated!
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions