DEV Community


Discussion on: Developing and Deploying Micro-Frontends with single-spa

thawkin3 profile image
Tyler Hawkins Author • Edited

Thank you! One of the things that's possible to do with single-spa is to use shared versions of the libraries. So in the article you'll note that I'm using a shared version of react, react-dom, and single-spa. You can find this in the import map in the "Creating an Import Map for Production" section of the article.

So yes, it's absolutely possible to not have a bloated app! Because you're right, you wouldn't want 5 copies of the React library being downloaded. You can have just one, just like you would in a monolith.