Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount the child app from the Container app each time it is requested. #1

Open
rahulnsit01 opened this issue Feb 19, 2020 · 0 comments

Comments

@rahulnsit01
Copy link

rahulnsit01 commented Feb 19, 2020

I was trying your demo app as I have a similar use case in my project. Got stuck at one point. Would request your help.
Say my child2 app is currently mounted in the Container app's DOM , and we click the Child2 hyperlink in the Container app. This won't unmount and mount the child2 app again(I understand , this is because Child2 is currently the active app, and any route starting with 'child2/' will be searched in the route configuration for child2 app.)For my scenario, I have to mount the child2 app every time the Child2 hyperlink is clicked from the parent app,each time passing a differnt param in the route(say /Child2/:param1, /child2/:param2 etc), so that different component is loaded in the child2 app depending on the passed param.
Could you please suggest a way to achieve that?

@rahulnsit01 rahulnsit01 changed the title Mount the child app from the parent each time it is requested. Mount the child app from the Container app each time it is requested. Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant