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 |
||
---|---|---|
.circleci | ||
.devcontainer | ||
.github | ||
.vscode | ||
aio | ||
docs | ||
integration | ||
modules | ||
packages | ||
scripts | ||
third_party | ||
tools | ||
.bazelignore | ||
.bazelrc | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.nvmrc | ||
BUILD.bazel | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
WORKSPACE | ||
browser-providers.conf.js | ||
gulpfile.js | ||
karma-js.conf.js | ||
package.json | ||
protractor-perf.conf.js | ||
renovate.json | ||
shims_for_IE.js | ||
test-events.js | ||
test-main.js | ||
tslint.json | ||
yarn.lock | ||
yarn.lock.readme.md |
README.md
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.