DEV Community

Discussion on: Building Micro Frontends with React, Vue, and Single-spa

Collapse
 
wilmarques profile image
Wiley Marques • Edited

MFE architecture is really interesting.

But the main reason I like it, is the possibility to publish parts of an app independently.
The approach showed here didn't get this result, we have to bundle everything together.

Collapse
 
taviroquai profile image
Marco Afonso

I agree. I don't see this example as independent frontends because ate the end of the day, they are all bundled together. If you make a change in the react frontend, you have to rebuild all together. Doesn't make to much sense.

Collapse
 
grahamsutton profile image
Graham Sutton

This is probably more a trade-off than anything. It seems like the choice is between a) rebuild everything together which de-duplicates dependencies but you lose the ability to release independently or b) build and release everything separately but risk having duplicate dependencies across all bundles.