Skip to content

Releases: single-spa/single-spa-react

v2.10.4

10 Nov 17:30
Compare
Choose a tag to compare

Maintenance

  • Fixed problem where if statement was dead code (#59 via @RolandWArnold)
  • Switched to using prepublishOnly instead of in-publish (3f8fe63)

v2.10.3

24 Oct 22:51
cafd9b0
Compare
Choose a tag to compare

Added support for React concurrent mode's createBlockingRoot

Note that createRoot is already supported.

v2.10.2

31 May 18:32
Compare
Choose a tag to compare

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

11 Apr 17:04
Compare
Choose a tag to compare

Fixes

  • Fixing IE11 support for Parcel component (#48)

v2.10.0

09 Apr 16:06
Compare
Choose a tag to compare

Features

  • domElementGetter is no longer required -- there is a default implementation (#46)

v2.9.0

14 Nov 20:51
0b4516b
Compare
Choose a tag to compare

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

14 Jul 01:22
Compare
Choose a tag to compare

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

18 Jun 02:13
Compare
Choose a tag to compare

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

10 May 17:40
Compare
Choose a tag to compare

Fixes

  • Fix bug when unmounting parcels (#35)

v2.5.3

08 May 20:28
Compare
Choose a tag to compare

Fixes

  • Do not trigger parcel updates on unmounted parcels (#34)
  • Fix bug where parcel update lifecycle always threw an error (#34)