Replies: 1 comment
-
Could share route constants across MFEs, although breaking change constant updates will be hard. Best bet is not use relative paths and constants are all full pathnames |
Beta Was this translation helpful? Give feedback.
0 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 everyone,
is it possible to achieve agnostic routing inside microfrontends using this library?
Let me explain what I mean by agnostic.
Host
Mfe1
If I'm inside Foo, how can I navigate to Bar without knowing that the first part of the path is /mfe1? How can I change only the part of the url managed by the microfrontend? So from
localhost:3000/mfe1/foo
tolocalhost:3000/mfe1/bar
What I tried:
localhost:3000/bar
so it doesn't work.localhost:3000/mfe1/foo/bar
.How does microfrontend navigation is managed in this case? Is it possible or I need to pass the first part of the path to each microfrontend ? Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions