{"schemaVersion":1,"id":"single-spa","name":"single-spa","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/single-spa/","officialUrl":"https://github.com/single-spa/single-spa","isCatalog":false,"description":"A microfrontend framework: it connects multiple web applications' lifecycles and helps independently develop parts of a large interface.","tasks":["Connect multiple web applications into a shared interface","Register application lifecycles and test switching between them"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["single-spa","web","Development"],"aliases":["single-spa/single-spa","single-spa","microfrontend-router"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Connect multiple web applications into a shared interface","chooseWhen":["Connect multiple web applications into a shared interface","Register application lifecycles and test switching between them"],"considerInstead":[],"requirements":["A registered application exports bootstrap, mount, and unmount; each lifecycle returns a Promise or is async."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Unmount must remove created DOM, listeners, globals, and subscriptions; single-spa does not automatically release every part of your application."],"faq":[{"question":"What can you use for free in single-spa?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with single-spa?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for single-spa?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with single-spa?","answer":"Define microfrontend boundaries and activation conditions. Register application lifecycles and test switching between them. Add real data and error handling; check the production build."},{"question":"Must I use different frameworks?","answer":"No. The README permits multiple frameworks on one page but does not require them. A new application can be added gradually without completely rewriting the existing one."},{"question":"How can I avoid extra handlers when switching applications?","answer":"In unmount, remove everything created during mount, including DOM and subscriptions. Bootstrap runs once; the mounted application handles subsequent routing itself."}],"related":[],"sources":["https://github.com/single-spa/single-spa","https://raw.githubusercontent.com/single-spa/single-spa/HEAD/README.md","https://raw.githubusercontent.com/single-spa/single-spa/HEAD/LICENSE","https://www.open-source-tools.com/","https://single-spa.js.org/docs/building-applications/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Connect multiple web applications into a shared interface.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Define microfrontend boundaries and activation conditions.","Register application lifecycles and test switching between them.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/single-spa/single-spa","https://raw.githubusercontent.com/single-spa/single-spa/HEAD/README.md","https://raw.githubusercontent.com/single-spa/single-spa/HEAD/LICENSE","https://www.open-source-tools.com/","https://single-spa.js.org/docs/building-applications/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/single-spa/single-spa","label":"Official source"},{"url":"https://raw.githubusercontent.com/single-spa/single-spa/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/single-spa/single-spa/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://single-spa.js.org/docs/building-applications/","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}