{"library":"single-spa-react","type":"library","category":null,"description":"single-spa-react is a utility library designed to simplify the integration of React applications and components into a single-spa microfrontend architecture. It provides helper functions that adapt React's rendering and lifecycle methods (bootstrap, mount, unmount) to single-spa's expectations. The current stable version is 6.0.2, with ongoing active development including patch releases and a v7.0.0-beta.0 in progress. Key differentiators include robust support for React 18's `createRoot` API, explicit compatibility options for older React versions, built-in error boundary mechanisms, and a dedicated `<Parcel>` component for managing framework-agnostic micro-frontends within a React application. It focuses on ensuring React applications adhere to single-spa's lifecycle contracts and work seamlessly within a polyglot microfrontend environment.","language":"javascript","status":"active","version":"6.0.2","tags":["javascript","single","page","application","spa","react","typescript"],"install":[{"cmd":"npm install single-spa-react","imports":["import singleSpaReact from 'single-spa-react';","import { SingleSpaContext } from 'single-spa-react';","import Parcel from 'single-spa-react/parcel';"]},{"cmd":"yarn add single-spa-react","imports":[]},{"cmd":"pnpm add single-spa-react","imports":[]}],"homepage":"https://single-spa.js.org","github":"https://github.com/joeldenning/single-spa-react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/single-spa-react","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/single-spa-react/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}