f6667f8281
Resubmit #31168 now that google3 tests can pass. This requires http://cl/272696717 to be patched. Original description from jasonaden: Without this change when using UrlTree redirects in urlUpdateStrategy="eager", the URL would get updated to the target location, then redirected. This resulted in having an additional entry in the history and thus the back button would be broken (going back would land on the URL causing a new redirect). Additionally, there was a bug where the redirect, even without urlUpdateStrategy="eager", could create a history with too many entries. This was due to kicking off a new navigation within the navigation cancelling logic. With this PR the new navigation is pushed to the next tick with a setTimeout, allowing the page being redirected from to be cancelled before starting a new navigation. Related to #27148 fix(router): adjust UrlTree redirect to replace URL if in eager update Fix lint errors PR Close #32988 |
||
---|---|---|
.. | ||
animations | ||
bazel | ||
benchpress | ||
common | ||
compiler | ||
compiler-cli | ||
core | ||
docs | ||
elements | ||
examples | ||
forms | ||
http | ||
language-service | ||
localize | ||
platform-browser | ||
platform-browser-dynamic | ||
platform-server | ||
platform-webworker | ||
platform-webworker-dynamic | ||
private/testing | ||
router | ||
service-worker | ||
upgrade | ||
zone.js | ||
BUILD.bazel | ||
README.md | ||
empty.ts | ||
goog.d.ts | ||
license-banner.txt | ||
system.d.ts | ||
tsconfig-build-no-strict.json | ||
tsconfig-build.json | ||
tsconfig-test.json | ||
tsconfig.json | ||
types.d.ts |
README.md
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
License: MIT