Releases: single-spa/single-spa-react
Releases · single-spa/single-spa-react
v2.5.2
Features
- Make compatible with [email protected] or previous versions (679c55a)
- Get domElement and domElementGetter off of either customProps or props (679c55a)
Correctly checking for a componentDidCatch lifecycle
e7b5525 - Fixing issue where we were incorrectly checking for the componentDidCatch
lifecycle when react-hot-loader
was active.
v2.5.0
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 settingparcelCanUpdate
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
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:
- Created tests for single-spa-react
- Created a travis-ci.yml file and connected this repo to travis. See https://travis-ci.org/CanopyTax/single-spa-react
v2.3.0
Features:
- Allow
domElementGetter
to be passed as a custom prop instead of an opt (see #29 and https://github.com/CanopyTax/single-spa-react#options)
v2.2.0
Adding support for single spa 3.7.0 and beyond
- Adding support for changed prop keys in single-spa 3.7.0 and planned changes in 4.0.0
v2.1.0
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