Skip to content

Can a web component be a host and a microfrontend #4

@nccandiotti

Description

@nccandiotti

Hi there!
I recently started a project where I want to use this multiframework solution to run multiple MFEs as web components on different versions. One question I have - I have some webapps that might be like this:
in this scenario we may have Host > Child One > Child Two
The problem here is that the in this scenario, Child One may sometimes be a child (child of host), but also needs to be a shell for its own child (shell to child two). MFEs could sometimes be a direct child and other times there could be 3 or 4 nested. Was wondering if you have encountered this before and if you have any suggestion on how to set up bootstrapping or webpack so that it could be both when needed? Is it possible to have more than one shell? Could type:microfrontend also load other microfrontends and only 1 shell is ultimately required?

----Host app----
------Child One------
----------Child Two--------
------Child Three-------

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