Expect the following to work:
class Foo extends Routes {
log() {
console.log(this._currentRoute);
}
}
What actually happens: this_currentRoute doesn't exist because it has been renamed by our rollup renaming rule which renames properties prefixed with _.
Any publicly accessible API should not be renamed. Audit the router API.
Members that need resolving on the Routes class:
_parentRoutes
_currentPathname
_currentRoute
_currentParams
_host
Expect the following to work:
What actually happens:
this_currentRoutedoesn't exist because it has been renamed by our rollup renaming rule which renames properties prefixed with_.Any publicly accessible API should not be renamed. Audit the router API.
Members that need resolving on the
Routesclass:_parentRoutes_currentPathname_currentRoute_currentParams_host