Releases: single-spa/single-spa-react
Releases · single-spa/single-spa-react
v2.10.4
Maintenance
- Fixed problem where if statement was dead code (#59 via @RolandWArnold)
- Switched to using
prepublishOnly
instead of in-publish
(3f8fe63)
v2.10.3
Added support for React concurrent mode's createBlockingRoot
Note that createRoot
is already supported.
v2.10.2
Fixes
- Updated the default dom element getter's html id, to match the convention used by single-spa-vue and single-spa-angular. See (#52 and #51)
v2.10.1
Fixes
- Fixing IE11 support for Parcel component (#48)
v2.10.0
Features
domElementGetter
is no longer required -- there is a default implementation (#46)
v2.9.0
Features
Using the new (optional) renderType
option, you can choose which ReactDOM
render method you want. We currently support:
render
(default)
hydrate
createRoot
for concurrent/async react (part of the React 16.7 release)
v2.8.1
Features
- Added support for
parcelDidMount
prop (#37, #38)
Bug fixes
- Fix bug where error was thrown if no SingleSpaContext did not provide a valid mountParcel value (#37)
- Fix bug where parcel was not actually wrapped with an element despite the wrapWith prop being passed in (#37)
v2.6.0
Features
- You can now use single-spa-react via script tag:
<script src="https://unpkg.com/single-spa-react"></script>
<script src="https://unpkg.com/single-spa-react/parcel"><script>
<script>
const reactApp = window.singleSpaReact.default({...})
const Parcel = window.Parcel.default
</script>
v2.5.4
Fixes
- Fix bug when unmounting parcels (#35)
v2.5.3
Fixes
- Do not trigger parcel updates on unmounted parcels (#34)
- Fix bug where parcel update lifecycle always threw an error (#34)