v2.14.0
Features
- New
opts.errorBoundary
that allows for easy implementation of error boundary (#75)
const lifecycles = singleSpaReact({
React,
ReactDOM,
rootComponent: Root,
errorBoundary(err, info, props) {
return <div>An error occurred</div>
}
})
Maintenance
- Switch to minified rollup bundles, which reduced library size from 9.4kb to 5.6kb (#75)