1 min readJul 17, 2017
That’s a great point! We’re just about to begin implementing the micro frontends approach into Weld (probably using Single SPA) so I have no practical experience yet.
I see a couple of risks:
- Downloads: larger size & multiple server requests. But scripts are usually quite small compared to images and other resources. Based on the structure of your app, it could make sense either to have all scripts in one bundle, or separate bundles for different URLs.
- Multiple scripts taking up client resources (CPU, memory).
- Multiple scripts conflicting with each other.
What’s your thoughts?