Skip to content

v2.14.0

Compare
Choose a tag to compare
@joeldenning joeldenning released this 20 Apr 17:45

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)