angular/aio/content/guide
Dmitrij Kuba c9679760b2 refactor(router): take only the first emitted value of every resolver to make it consistent with guards (#44573)
The router used to wait for the resolvers to complete and take the last
value. The changes here take only the first
emitted value of every resolver and proceed the navigation. This matches
how other guards work in the `Router` code.

Resolves https://github.com/angular/angular/issues/44643

BREAKING CHANGE: Previously, resolvers were waiting to be completed
before proceeding with the navigation and the Router would take the last
value emitted from the resolver.
The router now takes only the first emitted value by the resolvers
and then proceeds with navigation. This is now consistent with `Observables`
returned by other guards: only the first value is used.

PR Close #44573
2022-03-01 17:12:37 +00:00
..
accessibility.md docs: Edits to remove jargon (#43023) 2021-09-23 14:41:17 -07:00
ajs-quick-reference.md fix(docs-infra): prevent automatic linking of 'json' (#44294) 2021-12-01 15:22:00 -08:00
angular-compiler-options.md docs: remove Ivy-specific guides (#43860) 2021-10-21 18:14:34 +00:00
angular-package-format.md docs: fix typo (#44592) 2022-01-04 10:59:58 -08:00
animations.md docs(animations): add links to state() references (#44376) 2022-01-04 12:19:08 -08:00
aot-compiler.md docs: remove Ivy-specific guides (#43860) 2021-10-21 18:14:34 +00:00
aot-metadata-errors.md fix(docs-infra): improve heading styles (#40427) 2021-02-02 12:04:55 -08:00
app-shell.md docs: Edits to remove jargon (#43000) 2021-09-27 10:44:21 -07:00
architecture-components.md refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
architecture-modules.md docs: Edits to remove jargon in Reference section (#42033) 2021-05-27 16:47:05 -07:00
architecture-next-steps.md docs: update review date (#43245) 2021-09-23 15:40:34 -07:00
architecture-services.md docs: Edits to remove jargon in Reference section (#42033) 2021-05-27 16:47:05 -07:00
architecture.md docs: Edits to remove jargon in Reference section (#42033) 2021-05-27 16:47:05 -07:00
attribute-binding.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
attribute-directives.md docs(docs-infra): improve the content of attribute directives (#44628) 2022-01-06 18:36:46 +00:00
binding-syntax.md refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
bootstrapping.md docs(core): improve applicationref.bootstrap docs (#42407) 2021-06-22 16:30:37 +00:00
browser-support.md docs: remove reference of testing against BrowserStack (#43858) 2021-11-05 19:56:03 +00:00
build.md docs: remove no longer relevant sections in build page (#43837) 2021-10-14 10:01:20 -07:00
built-in-directives.md docs: Edits to remove jargon (#42912) 2021-09-20 22:49:26 +00:00
cheatsheet.md refactor(docs-infra): clean up entryComponents usages (#44257) 2021-11-30 13:49:45 -05:00
cli-builder.md docs: disable erroneous "browser" code links (#43554) 2021-10-01 08:36:07 -07:00
comparing-observables.md docs: fix typo in observables file (#43630) 2021-09-29 09:59:38 -07:00
complex-animation-sequences.md docs(animations): improve aio animations guides info around :enter/:leave (#44550) 2022-02-14 09:16:29 -08:00
component-interaction.md docs: reviewed tag added (#43488) 2021-10-26 22:57:19 +00:00
component-overview.md docs: Edits to remove jargon (#42904) 2021-09-23 14:34:41 -07:00
component-styles.md docs: improve the component styling guide (#44234) 2022-01-10 19:53:56 +00:00
content-projection.md docs: add code format in content projection guide (#44907) 2022-01-31 19:45:47 +00:00
contributors-guide-overview.md docs: add guidelines for localizing angular documentation (#43314) 2021-09-14 08:32:51 -07:00
creating-libraries.md docs: including additional assets into libraries (#44076) 2021-11-09 20:54:21 +00:00
dependency-injection-in-action.md docs: remove extraneous word in the Dependency injection in action guide (#43255) 2021-09-09 11:27:30 -07:00
dependency-injection-navtree.md docs: archive di-navtree doc (#39543) 2020-11-12 13:52:04 -08:00
dependency-injection-providers.md docs: Edits to remove jargon (#42912) 2021-09-20 22:49:26 +00:00
dependency-injection.md docs: Edits to remove jargon (#42912) 2021-09-20 22:49:26 +00:00
deployment.md docs: Update deployment docs for Vercel (#44904) 2022-01-31 21:32:41 +00:00
deprecations.md feat(common): support NgModule as an input to the NgComponentOutlet (#44815) 2022-02-01 20:19:41 +00:00
developer-guide-overview.md docs: correct typo (#44793) 2022-02-04 10:42:25 -08:00
devtools.md docs: Edits to remove jargon (#43045) 2021-09-17 16:39:19 +00:00
docs-style-guide.md docs: remove unnecessary "https://angular.io/" from aio links (#43425) 2021-09-13 09:24:07 -07:00
dynamic-component-loader.md docs: update dynamic component guide to use factory-less ViewContainerRef.createComponent (#43895) 2021-10-29 15:39:04 -07:00
dynamic-form.md docs: fix typos (#45103) 2022-02-16 13:42:44 -08:00
elements.md docs: update install guide for angular elements (#44077) 2021-11-05 16:21:57 +00:00
entry-components.md docs: remove Ivy-specific guides (#43860) 2021-10-21 18:14:34 +00:00
event-binding-concepts.md build(docs-infra): implement full template checking for examples (#40930) 2021-02-26 15:40:44 -08:00
event-binding.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
example-apps-list.md docs: fix style guide example app included as routing (#45148) 2022-02-24 22:57:53 +00:00
feature-modules.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
file-structure.md docs: remove tslint references from file structure document (guide/file-structure) (#44202) 2021-11-18 10:21:31 -08:00
form-validation.md docs: add link to AbstractControlOptions reference (#44764) 2022-01-24 14:53:14 -08:00
forms-overview.md docs: Edits to remove jargon (#42928) 2021-09-20 22:50:58 +00:00
forms.md fix(docs-infra): prevent automatic linking of 'json' (#44294) 2021-12-01 15:22:00 -08:00
frequent-ngmodules.md docs: Formalize language describing HttpClient (#43778) 2021-10-11 16:43:14 +00:00
glossary.md fix(docs-infra): fix broken link in Glossary (#45068) 2022-02-14 12:51:30 -08:00
hierarchical-dependency-injection.md docs: fix typo in hierarchical injectors file (#43652) 2021-10-12 17:41:24 +00:00
http.md docs: fix test description to match code example (#45101) 2022-02-23 08:58:40 -08:00
i18n-common-add-package.md docs: update internationalization topics (#43722) 2021-10-12 21:38:37 +00:00
i18n-common-deploy.md docs: update internationalization topics (#43722) 2021-10-12 21:38:37 +00:00
i18n-common-format-data-locale.md docs: update note (#43979) 2021-10-29 15:46:33 -07:00
i18n-common-locale-id.md docs(common): url link format updated (#44638) 2022-01-05 23:21:10 +00:00
i18n-common-merge.md docs: remove Ivy-specific guides (#43860) 2021-10-21 18:14:34 +00:00
i18n-common-overview.md docs: update internationalization topics (#43722) 2021-10-12 21:38:37 +00:00
i18n-common-prepare.md docs: Fixed typo 'test' => 'text' (#44464) 2021-12-14 16:12:57 -05:00
i18n-common-translation-files.md docs: internationalization topics (#43819) 2021-10-14 15:53:24 -07:00
i18n-example.md docs: internationalization topics (#43819) 2021-10-14 15:53:24 -07:00
i18n-optional-import-global-variants.md docs: internationalization topics (#43819) 2021-10-14 15:53:24 -07:00
i18n-optional-manage-marked-text.md docs: internationalization topics (#43819) 2021-10-14 15:53:24 -07:00
i18n-optional-manual-runtime-locale.md docs: update internationalization topics (#43722) 2021-10-12 21:38:37 +00:00
i18n-optional-overview.md docs: remove link (#43979) 2021-10-29 15:46:32 -07:00
i18n-overview.md docs(localize): fix typo in i18n-overview.md (#44389) 2021-12-08 13:22:31 -05:00
inputs-outputs.md docs: Edits to remove jargon (#42904) 2021-09-23 14:34:41 -07:00
interpolation.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
language-service.md docs: Edits to remove jargon (#43045) 2021-09-17 16:39:19 +00:00
lazy-loading-ngmodules.md docs: fix filename of the file containing the 'routes'-array in lazy loading guide (#44297) 2021-11-29 12:35:44 -05:00
libraries.md docs: Edits to remove jargon (#43052) 2021-09-15 22:49:48 +00:00
lifecycle-hooks.md docs: Edits to remove jargon (#42904) 2021-09-23 14:34:41 -07:00
lightweight-injection-tokens.md docs: Edits to remove jargon (#43023) 2021-09-23 14:41:17 -07:00
localized-documentation.md docs: add guidelines for localizing angular documentation (#43314) 2021-09-14 08:32:51 -07:00
localizing-angular.md docs: add guidelines for localizing angular documentation (#43314) 2021-09-14 08:32:51 -07:00
migration-dynamic-flag.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
migration-injectable.md docs: fix migrations formatting (#33267) 2019-12-05 13:06:01 -08:00
migration-legacy-message-id.md docs: add new migration guide to v12 documentation that describes how to migrate older localization ids to new ones (#41828) 2021-05-04 08:09:52 -07:00
migration-localize.md docs: change dependencies to devDependencies in document (#45053) 2022-02-14 14:03:45 -08:00
migration-module-with-providers.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
migration-renderer.md docs: fix migrations formatting (#33267) 2019-12-05 13:06:01 -08:00
migration-undecorated-classes.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
migration-update-libraries-tslib.md docs: updating guides and docs related to the v10 release (#37705) 2020-06-24 09:37:34 -07:00
migration-update-module-and-target-compiler-options.md docs: updates typescript configuration file links (#44131) 2021-11-10 17:37:02 +00:00
module-types.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
ngmodule-api.md refactor(docs-infra): clean up entryComponents usages (#44257) 2021-11-30 13:49:45 -05:00
ngmodule-faq.md refactor(docs-infra): clean up entryComponents usages (#44257) 2021-11-30 13:49:45 -05:00
ngmodule-vs-jsmodule.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
ngmodules.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
npm-packages.md docs: fix invalid link of library support for npm packages guide (#44612) 2022-01-04 12:03:15 -08:00
observables-in-angular.md docs: edit inputs-outputs copy and headers (#39119) 2020-11-13 11:26:27 -08:00
observables.md docs: Edits to remove jargon in Reference Observables, Dependency Injection (#42185) 2021-06-07 18:24:48 -07:00
pipes.md docs: update review date (#43245) 2021-09-23 15:40:34 -07:00
practical-observable-usage.md fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips (#26396) 2018-10-17 11:05:29 -07:00
prerendering.md docs: Edits to remove jargon (#43017) 2021-09-17 18:10:40 +00:00
property-binding-best-practices.md docs: Edits to remove jargon (#43023) 2021-09-23 14:41:17 -07:00
property-binding.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
providers.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
reactive-forms.md docs: Edits to remove jargon (#42928) 2021-09-20 22:50:58 +00:00
releases.md docs: remove Angular 10 from support table (#44611) 2022-01-04 12:03:37 -08:00
reusable-animations.md docs: fix a couple of random typos (#43878) 2021-10-18 10:41:31 -07:00
reviewing-content.md docs: use dedicated anchors for links to CONTRIBUTING.md (#41250) 2021-04-01 11:19:57 -07:00
roadmap.md docs: update roadmap update date (#44036) 2021-11-04 18:56:14 +00:00
route-animations.md docs: remove activatedRouteData backward accesses in aio guides (#45140) 2022-02-24 00:55:18 +00:00
router-reference.md docs(router): params or queryParams are not advised against (#43562) 2021-09-27 14:21:10 -07:00
router-tutorial-toh.md refactor(router): take only the first emitted value of every resolver to make it consistent with guards (#44573) 2022-03-01 17:12:37 +00:00
router-tutorial.md docs: Edits to remove jargon (#42918) 2021-09-20 22:50:15 +00:00
router.md feat(router): Add Route.title with a configurable TitleStrategy (#43307) 2022-01-27 22:02:33 +00:00
routing-overview.md docs: Edits to remove jargon (#42918) 2021-09-20 22:50:15 +00:00
routing-with-urlmatcher.md docs: Edits to remove jargon (#42918) 2021-09-20 22:50:15 +00:00
rx-library.md docs: Edits to remove jargon in Reference Observables, Dependency Injection (#42185) 2021-06-07 18:24:48 -07:00
schematics-authoring.md docs: Edits to remove jargon (#43045) 2021-09-17 16:39:19 +00:00
schematics-for-libraries.md docs: clarify install of build schematics deps (#45104) 2022-02-16 13:44:47 -08:00
schematics.md docs: update elements page (#43975) 2021-10-29 15:43:55 -07:00
security.md fix(docs-infra): move security anchors outside callout elements (#43865) 2021-10-18 09:22:35 -07:00
service-worker-communications.md docs: replace deprecated SwUpdate#available/activated with new API (#44858) 2022-02-18 13:40:34 -08:00
service-worker-config.md feat(service-worker): add cacheOpaqueResponses option for data-groups (#44723) 2022-01-24 14:51:59 -08:00
service-worker-devops.md docs: explain how ngsw.json is generated (#44823) 2022-02-01 18:26:42 +00:00
service-worker-getting-started.md docs: Edits to remove jargon (#43000) 2021-09-27 10:44:21 -07:00
service-worker-intro.md docs: Edits to remove jargon (#43000) 2021-09-27 10:44:21 -07:00
service-worker-notifications.md docs: Edits to remove jargon (#43000) 2021-09-27 10:44:21 -07:00
set-document-title.md docs: apply standard header case convention (#34196) 2020-01-10 08:38:53 -08:00
setup-local.md docs: reviewed tag added (#43472) 2021-09-24 10:51:39 -07:00
sharing-ngmodules.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
singleton-services.md docs: Edits to remove jargon in Reference NgModules (#42182) 2021-06-04 13:32:56 -07:00
static-query-migration.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
strict-mode.md docs: clarify the definition of the bundle bundget defaults with strict mode (#42289) 2021-05-25 17:54:05 +00:00
structural-directives.md docs: Edits to remove jargon (#42912) 2021-09-20 22:49:26 +00:00
style-precedence.md docs: fix typos in the Style Precedence guide (#39560) 2020-12-09 09:02:14 -08:00
styleguide.md docs: fix spacing in code style guide (#42908) 2021-07-22 16:25:39 +00:00
svg-in-templates.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
template-expression-operators.md docs: archive template expression operators doc, move pipes precedence section (#39170) 2020-11-24 08:41:18 -08:00
template-reference-variables.md docs: correct (possible) typo (#44759) 2022-01-20 09:22:35 -08:00
template-statements.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
template-syntax.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
template-typecheck.md refactor(compiler-cli): deprecate the fullTemplateTypeCheck compiler option (#43224) 2021-10-04 16:32:11 -07:00
test-debugging.md docs: clarify the wording around live examples for all testing guides (#42406) 2021-06-02 13:20:13 -07:00
testing-attribute-directives.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
testing-code-coverage.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
testing-components-basics.md docs: fix grammatical error (#45092) 2022-02-15 12:29:59 -08:00
testing-components-scenarios.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
testing-pipes.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
testing-services.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
testing-utility-apis.md docs: Edits to remove jargon (#42965) 2021-09-23 14:35:53 -07:00
testing.md build(docs-infra): remove link to custom Stackblitz for running tests (#44085) 2021-11-08 18:12:16 +00:00
transition-and-triggers.md docs(animations): improve aio animations guides info around :enter/:leave (#44550) 2022-02-14 09:16:29 -08:00
two-way-binding.md docs: Edits to remove jargon (#42907) 2021-07-22 16:24:15 +00:00
typescript-configuration.md docs: remove references to differential loading (#43060) 2021-09-09 09:15:21 -07:00
understanding-angular-overview.md docs: add two new overview pages: developer-guide-overview and understanding-angular-overview (#44091) 2021-11-20 00:12:10 +00:00
universal.md docs: Edits to remove jargon (#43017) 2021-09-17 18:10:40 +00:00
update-to-latest-version.md docs: fix typo in update guide (#44853) 2022-01-28 17:37:24 +00:00
updating-content-github-ui.md docs: correctly style alert in updating-content-github-ui guide (#41250) 2021-04-01 11:19:57 -07:00
updating-search-keywords.md docs: several minor fixes/improvements to docs contributing guides (#41250) 2021-04-01 11:19:57 -07:00
updating.md docs: Updated described version number (#44365) 2022-01-10 19:58:52 +00:00
upgrade-performance.md build(docs-infra): fix SystemJS-based docs examples (#43868) 2021-11-08 17:01:16 +00:00
upgrade-setup.md build(docs-infra): fix SystemJS-based docs examples (#43868) 2021-11-08 17:01:16 +00:00
upgrade.md docs: extend the LTS for ngUpgrade with a year (#45078) 2022-02-14 14:06:59 -08:00
user-input.md docs: update docs to use new zone.js entry-points (#40823) 2021-02-24 07:58:29 -08:00
using-libraries.md docs: fix typos in using libraries guide (#44634) 2022-01-06 00:23:06 +00:00
view-encapsulation.md docs: describe your change... (#42899) 2022-02-03 12:41:36 -08:00
web-worker.md docs: Edits to remove jargon (#43017) 2021-09-17 18:10:40 +00:00
what-is-angular.md docs: update review tag to topic (#44008) 2021-11-10 19:29:13 +00:00
workspace-config.md docs: fix typos in the workspace config guide (#43918) 2021-10-21 14:42:46 +00:00
zone.md docs: correct the demo code of NgZone.run (#44733) 2022-02-01 19:16:16 +00:00