Closed Sergej-Popov closed 3 years ago
I've created https://github.com/single-spa/single-spa.js.org/issues/403 to track documenting this feature.
This is released in https://github.com/single-spa/single-spa-vue/releases/tag/v2.2.0
Thanks for releasing so quickly. Docs: https://github.com/single-spa/single-spa.js.org/pull/405
What: This PR adds the ability to resolve app options asynchronously. Why: In some scenarios (e.g. multi-tenant applications) resolution of app options such as a router, i18n etc, requires loading configuration and resources asynchronously.
At the moment there are no asynchronous hooks except
loadRootComponent
which is insufficient.Example: