The router for easy microfrontends
isStarted
from typescript definition, since it's not part of the public API (#717 #715)https://github.com/single-spa/single-spa/compare/v5.8.2...v5.8.3
evt.target
for artificial popstate events was null
instead of window
. See (#651)unregisterApplication('app-name').then(() => {
console.log('The application is unmounted, unloaded, and no longer registered!');
})
oldUrl
, newUrl
, and navigationIsCanceled
(#641)window.addEventListener('single-spa:before-routing-event', evt => {
console.log(evt.detail.oldUrl);
console.log(evt.detail.newUrl);
console.log(evt.detail.navigationIsCanceled);
evt.detail.cancelNavigation();
})
pathToActiveWhen
so that pathname matching allows for arbitrary hashnames after the prefix (@pkhodaveissi #600)