Releases: single-spa/single-spa-react
Releases · single-spa/single-spa-react
v4.5.0
Maintenance
v4.5.0-beta.0
Maintenance
v4.4.0
Features
- When using
<Parcel>
component, thedomElement
prop is now passed to parcels that are being updated. This is helpful for them to ensure that the parcel updates the correct dom element rather than creating a new dom element. (#126)
Fixes
- Fix issue where parcels created by single-spa-react weren't properly updated if they used
ReactDOM.render()
rather thanReactDOM.createRoot().render()
. This fixes things for React < 18 (#126)
v4.3.1
Fixes
- types: add props to loadRootComponent (#122 via @scarabedore)
v4.3.0
Features
- Support for passing
errorBoundary
anderrorBoundaryClass
as single-spa props (in addition to being able to do so via singleSpaReact(opts) opts object). (#120 - Documentation)
v4.2.1
v4.2.0
Features
- Support for React 18. This was a somewhat significant refactor, with no intended changes to functionality. If you find any differences when upgrading to [email protected], please file a github issue. (#114, #112)