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

Support for micro-frontends (container app with hosted apps) #209

Open
nickiaconis opened this issue Dec 21, 2023 · 0 comments · May be fixed by #210
Open

Support for micro-frontends (container app with hosted apps) #209

nickiaconis opened this issue Dec 21, 2023 · 0 comments · May be fixed by #210

Comments

@nickiaconis
Copy link

I have a use case for Helmet that involves micro-frontends. There is a container app that renders a navbar and hosts within itself other react apps. <HelmetProvider> does not bridge this app boundary, even though the provider rendered in the container app is technically wrapping the hosted app.

Possible workaround:
The container already passes a history object to the hosted app for their instances of React Router to share. If I created a HelmetData object separately, this could be passed to the hosted app. The downside to this is, as it stands, I would need to find a way to distribute this object to pass as a prop to all the instances of the <Helmet> component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant