github single-spa/single-spa v3.0.0
Version 3.0.0

latest releases: v6.0.1, v6.0.0, v6.0.0-beta.4...
7 years ago

Breaking changes:

  • The pause and unpause apis have been removed
  • single-spa doesn't mount, or unmount applications until the new start API is called. However, it does load and bootstrap them before start is called.
  • The setLoader api now must be called. And it must be called before any declareChildApplication or start apis are called.

Features

  • The "main" file is now a distributable which can be used via <script>, npm/commonjs (require), and systemjs.
  • Tests now run in IE11, Chrome, Firefox, Edge, and Safari via karma + saucelabs. This is an improvement over just running in node with a mocked DOM and browser.
  • Loading and bootstrapping before start() is now possible, which yields a performance boost.
  • Apps that are going to be mounted no longer wait for all other apps to load/bootstrap before beginning to mount. This improves performance.

Issues fixed

  • Fixed #4 (code quality of single-spa project)
  • Fixed #64 (performance)

Concerns

  • Because the main file is now a bundle with no dependencies and because I'm using async/await babel plugin, the size of the distributable has ballooned to 64kb. I think we can address that after releasing 3.0

Don't miss a new single-spa release

NewReleases is sending notifications on new releases.