Skip to content

Releases: single-spa/single-spa-react

v2.5.2

08 May 20:04
Compare
Choose a tag to compare

Features

Correctly checking for a componentDidCatch lifecycle

26 Apr 19:25
Compare
Choose a tag to compare

e7b5525 - Fixing issue where we were incorrectly checking for the componentDidCatch lifecycle when react-hot-loader was active.

v2.5.0

13 Apr 17:55
Compare
Choose a tag to compare

Features

  • loadRootComponent option. Gives you the ability to lazy load your rootComponent during the bootstrap lifecycle. (#31)
  • <Parcel /> react component, available via import Parcel from 'single-spa-react/parcel. (#31)
  • An update lifecycle, provided by default, that applies to parcels. Can be turned off by setting parcelCanUpdate opt to false. (#31)
  • SingleSpaContext, a [email protected] (when available) context that gives you the single-spa props wherever you need them. (#31)

Other enhancements

  • Added tests and travis-ci build

v2.4.0

20 Mar 22:49
Compare
Choose a tag to compare

Features:

  • Allow dom element to be passed as a custom prop without having to pass a domElementGetter (#30)
  • singleSpaReact({...}) can now be used to create parcels (#30)

Maintenance:

v2.3.0

14 Mar 22:51
Compare
Choose a tag to compare

Features:

v2.2.0

24 Jan 00:22
Compare
Choose a tag to compare

New Features

  • Resolve mount promise with the rendered react component (#27)
  • Pass single-spa props to root react component as react props (b2fe08b)

Adding support for single spa 3.7.0 and beyond

18 Jan 20:02
Compare
Choose a tag to compare
  • Adding support for changed prop keys in single-spa 3.7.0 and planned changes in 4.0.0

v2.1.0

28 Dec 17:20
Compare
Choose a tag to compare

Features

  • Warning if applications do not implement componentDidCatch in a react@>=16 environment.
  • Added option suppressComponentDidCatch which defaults to false.

Other notes

  • Switched to yarn for install and build