angular-cn/packages
Jason Aden 15e397816f fix(router): adjust UrlTree redirect to replace URL if in eager update (#31168)
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

PR Close #31168
2019-06-27 15:54:20 -07:00
..
animations build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
bazel style: fix code style in several files (#31295) 2019-06-26 13:29:29 -07:00
benchpress build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
common docs: remove inappropriate link (#31091) 2019-06-19 15:31:56 -07:00
compiler style: fix code style in several files (#31295) 2019-06-26 13:29:29 -07:00
compiler-cli fix(ivy): ngtsc - NgtscCompilerHost should cope with directories that look like files (#31289) 2019-06-27 12:34:51 -07:00
core fix(ivy): handle ICU expressions in `executeActionOnNode` (#31313) 2019-06-27 15:53:10 -07:00
docs
elements Revert "build: update to rules_nodejs 0.32.2 (#31019)" (#31267) 2019-06-25 14:36:00 -07:00
examples Revert "build: update to rules_nodejs 0.32.2 (#31019)" (#31267) 2019-06-25 14:36:00 -07:00
forms build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
http build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
language-service refactor(language-service): Remove NgLSHost -> NgLS dependency (#31122) 2019-06-19 15:19:56 -07:00
platform-browser docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
platform-browser-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-server docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
platform-webworker build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-webworker-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
private/testing test(ivy): add onlyInIvy perf counter expectations (#30339) 2019-05-09 11:22:00 -07:00
router fix(router): adjust UrlTree redirect to replace URL if in eager update (#31168) 2019-06-27 15:54:20 -07:00
service-worker refactor(service-worker): remove redundant cache operation (#30977) 2019-06-27 09:52:29 -07:00
upgrade feat(upgrade): provide unit test helpers for wiring up injectors (#16848) 2019-06-20 17:04:01 -07:00
zone.js style: fix code style in several files (#31295) 2019-06-26 13:29:29 -07:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
README.md
empty.ts
goog.d.ts
license-banner.txt
system.d.ts
tsconfig-build.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig-test.json Revert "build: disable must-use-promises check in ts_library tsetse for tests as... (#31019)" (#31267) 2019-06-25 14:36:00 -07:00
tsconfig.json build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

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