Title: aio(routing) live example is not working as expected · Issue #24638 · angular/angular · GitHub
Open Graph Title: aio(routing) live example is not working as expected · Issue #24638 · angular/angular
X Title: aio(routing) live example is not working as expected · Issue #24638 · angular/angular
Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [ ] Feature request [X ] Documentation issue or request [ ] Support request => Please do not subm...
Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [ ] Feature request [X ] Documentation issue or request [...
X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [ ] Feature request [X ] Documentation issue or reque...
Opengraph URL: https://github.com/angular/angular/issues/24638
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"aio(routing) live example is not working as expected","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[X ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\nLive example for the route and navigations is not working as expected [live example](https://angular.io/generated/live-examples/router/stackblitz.html)\r\n\r\nas per the documentation: 'You'd like to send the id of the current hero with the navigation request so that the HeroListComponent can highlight that hero in its list.'\r\n\r\nsending the id as an optional parameter to the herosList component that will be used to highlight the selected hero is not working as expected (the selected hero is not getting highlighted). \r\n\r\n**It may be due to redirectTo, it breaks the optional parameter** sent to the heroes component and we are not getting hero id in the herolist component. \r\n\r\n\r\n## Expected behavior\r\nthe selected hero should get highlighted (we should get the selected heroId as a part of params in the heroList component).\r\n\r\n\r\n## Minimal reproduction of the problem with instructions\r\n1) Open the link - [https://angular.io/generated/live-examples/router/stackblitz.html](https://angular.io/generated/live-examples/router/stackblitz.html)\r\n\r\n2) Click on Heroes\r\n\r\n3) Goto any of the heroes from the list. lets say - 12 Narco\r\n\r\n4) Click Back from the hero details.\r\n\r\n5) Narco should be highlighted (the optional parameter which we are passing from the hero detail component should be available in the params in the hero list component). which is not. \r\n\r\n\r\n","author":{"url":"https://github.com/jainanuj0812","@type":"Person","name":"jainanuj0812"},"datePublished":"2018-06-23T09:17:51Z","url":"https://github.com/angular/angular/issues/24638"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1790520b-27cc-a8ee-3855-f3cd75890cf0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D146:1CEA6F:1343190:196EB08:6B011BA3 |
| html-safe-nonce | e892d2176e3feab70d3f8eac0aded20855c5447b94ce459ec26800f7d828715b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTQ2OjFDRUE2RjoxMzQzMTkwOjE5NkVCMDg6NkIwMTFCQTMiLCJ2aXNpdG9yX2lkIjoiMjk1MzIxMTI1MTAwNzc1NzIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82028a18da3b61540d51389276144934bb19f3771893533adf3ef1585b7be32f |
| hovercard-subject-tag | issue:335084215 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/24638/issue_layout |
| twitter:image | https://opengraph.githubassets.com/655a168d5bfe873b83f706ac16a352a286eccaf19e707e70d42214b55f336da9/angular/angular/issues/24638 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/655a168d5bfe873b83f706ac16a352a286eccaf19e707e70d42214b55f336da9/angular/angular/issues/24638 |
| og:image:alt | I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [ ] Performance issue [ ] Feature request [X ] Documentation issue or request [... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jainanuj0812 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width