# single\-spa

[BASE product page](<https://base.akulich.dev/en/library/single-spa/>) · [Resource](<https://github.com/single-spa/single-spa>)

ID: single\-spa · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A microfrontend framework: it connects multiple web applications' lifecycles and helps independently develop parts of a large interface\.

## Type

Web framework / library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/single-spa/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/single-spa/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/single-spa/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/single-spa/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/single-spa/#resource-tasks>)

- Connect multiple web applications into a shared interface
- Register application lifecycles and test switching between them

## Category IDs

- frontend

## Subcategory IDs

- frontend\.utilities

## Tags

- single\-spa
- web
- Development

## Also known as

- single\-spa/single\-spa
- single\-spa
- microfrontend\-router

## [Selection purpose](<https://base.akulich.dev/en/library/single-spa/#resource-selection>)

Connect multiple web applications into a shared interface

## [Choose this when](<https://base.akulich.dev/en/library/single-spa/#resource-selection>)

- Connect multiple web applications into a shared interface
- Register application lifecycles and test switching between them

## [Requirements](<https://base.akulich.dev/en/library/single-spa/#resource-selection>)

- A registered application exports bootstrap, mount, and unmount; each lifecycle returns a Promise or is async\.

## [Limitations](<https://base.akulich.dev/en/library/single-spa/#resource-selection>)

- 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\.

## [Questions before use](<https://base.akulich.dev/en/library/single-spa/#resource-faq>)

### What can you use for free in single\-spa?

Code and local use under MIT\.

### What additional costs might arise with single\-spa?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for single\-spa?

MIT for the code; dependencies have separate licenses\.

### How do you get started with single\-spa?

Define microfrontend boundaries and activation conditions\. Register application lifecycles and test switching between them\. Add real data and error handling; check the production build\.

### Must I use different frameworks?

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\.

### How can I avoid extra handlers when switching applications?

In unmount, remove everything created during mount, including DOM and subscriptions\. Bootstrap runs once; the mounted application handles subsequent routing itself\.

## Sources for the selection guide

- [https://github\.com/single\-spa/single\-spa](<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/README.md>)
- [https://raw\.githubusercontent\.com/single\-spa/single\-spa/HEAD/LICENSE](<https://raw.githubusercontent.com/single-spa/single-spa/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://single\-spa\.js\.org/docs/building\-applications/](<https://single-spa.js.org/docs/building-applications/>)

## [Possible workflow](<https://base.akulich.dev/en/library/single-spa/#resource-scenario>)

Connect multiple web applications into a shared interface\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Web application source code and the intended workflow\.
- The project's framework and runtime version\.

## Steps

1. Define microfrontend boundaries and activation conditions\.
2. Register application lifecycles and test switching between them\.
3. Add real data and error handling; check the production build\.

## Check your result

- The workflow works after a page refresh and with invalid data\.
- The bundle, server rendering, and supported browsers suit the project\.

## [License](<https://base.akulich.dev/en/library/single-spa/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

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\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/single-spa/#resource-sources>)

- [Official source](<https://github.com/single-spa/single-spa>)
- [Official source](<https://raw.githubusercontent.com/single-spa/single-spa/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/single-spa/single-spa/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://single-spa.js.org/docs/building-applications/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

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\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
