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
-
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-router
and loadsremote_a
andremote_b
through Module Federation Runtime.remote_a
andremote_b
are 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-router
not being shared or available at runtime. Has anyone successfully implemented Module Federation with@tanstack/react-router
at 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