Skip to content

v2.5.0

Compare
Choose a tag to compare
@joeldenning joeldenning released this 13 Apr 17:55
· 130 commits to main since this release

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