# single-spa-react

> Single-spa lifecycles helper for React apps

Latest version **6.0.2** (published 2024-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install single-spa-react
pnpm add single-spa-react
yarn add single-spa-react
bun add single-spa-react
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.0.2 |
| Published | 2024-09-14 |
| First published | 2015-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 222.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 236 |
| Author | Joel Denning |
| Maintainers | joeldenning, filoxo, blittle, frehner, themcmurder |
| Keywords | single, page, application, spa, react |

## Links

- npm: https://www.npmjs.com/package/single-spa-react
- Repository: https://github.com/joeldenning/single-spa-react
- Homepage: https://github.com/single-spa/single-spa-react#readme
- Issues: https://github.com/single-spa/single-spa-react/issues
- npm.io page: https://npm.io/package/single-spa-react

## Dependencies (1)

- [browserslist-config-single-spa](https://npm.io/package/browserslist-config-single-spa.md) ^1.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 6.0.2 (latest) — 2024-09-14
- 7.0.0-beta.0 (beta) — 2025-09-06
- 6.0.1 — 2024-01-05
- 6.0.0 — 2024-01-04
- 5.1.4 — 2023-07-24
- 5.1.2 — 2023-07-14
- 5.1.1 — 2023-06-28
- 5.1.0 — 2023-06-16
- 5.0.2 — 2023-06-16
- 5.0.1 — 2023-02-22
- 5.0.0 — 2022-08-25
- 4.6.1 — 2022-01-13
- 4.6.0 — 2021-11-01
- 4.5.0 — 2021-11-01
- 4.5.0-beta.0 — 2021-09-30
- … 46 more at https://npm.io/package/single-spa-react/versions

## README

# single-spa-react

[![Build Status](https://travis-ci.com/single-spa/single-spa-react.svg?branch=master)](https://travis-ci.com/single-spa/single-spa-react)

Generic lifecycle hooks for React applications that are registered as either [single-spa applications](https://github.com/single-spa/single-spa/blob/master/docs/applications.md#registered-applications) or [single-spa](https://github.com/single-spa/single-spa) parcels.

[Full documentation](https://single-spa.js.org/docs/ecosystem-react.html)

## Contributing

Make sure you commit a changeset with `pnpm changeset` before you open a PR.
This will allow to automatically bump the version and maintain the CHANGELOG
once released.

---
_Source: https://npm.io/package/single-spa-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
