Skip to content

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

Open
@nickiaconis

Description

@nickiaconis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions