Hello!
I have some MF's in React, where I have a main with a menu/header structure.
This principal has routings for several Parcel`s.
But each parcel also has routes nested inside.
And here lies the problem: I am not able to make the React Router from within the parcels accept each other's routes.
Example: I am on Parcel A, I click on the menu that should take me to Parcel B, but I get a white screen because Router for Parcel A does not have the route for Parcel B.
I understand that I cannot create multiple instances of the Router, but without these instances the internal routes render nothing.
Is there a way to pass the main instance to the Parcels or make this work somehow?
Hello! I have some MF's in React, where I have a main with a menu/header structure. This principal has routings for several Parcel`s. But each parcel also has routes nested inside. And here lies the problem: I am not able to make the React Router from within the parcels accept each other's routes. Example: I am on Parcel A, I click on the menu that should take me to Parcel B, but I get a white screen because Router for Parcel A does not have the route for Parcel B. I understand that I cannot create multiple instances of the Router, but without these instances the internal routes render nothing. Is there a way to pass the main instance to the Parcels or make this work somehow?