Title: DevTools signal visualization: Compound signals · Issue #63227 · angular/angular · GitHub
Open Graph Title: DevTools signal visualization: Compound signals · Issue #63227 · angular/angular
X Title: DevTools signal visualization: Compound signals · Issue #63227 · angular/angular
Description: Which @angular/* package(s) are relevant/related to the feature request? No response Description Certain APIs are functionally "compound signals", meaning they compose multiple signal APIs. For example resource and linkedSignal both use ...
Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? No response Description Certain APIs are functionally "compound signals", meaning they compose multiple signal APIs. For exa...
X Description: Which @angular/* package(s) are relevant/related to the feature request? No response Description Certain APIs are functionally "compound signals", meaning they compose multiple signal API...
Opengraph URL: https://github.com/angular/angular/issues/63227
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DevTools signal visualization: Compound signals","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\n_No response_\n\n### Description\n\nCertain APIs are functionally \"compound signals\", meaning they compose multiple signal APIs. For example `resource` and `linkedSignal` both use multiple signal APIs under the hood.\n\nAngular DevTools only sees the raw reactive graph, and so it displays the raw signal primitives rather than a single `resource` or `linkedSignal`. For example, I believe `resource` creates an effect for making the network request and then updates an internal signal. There's also multiple computeds for things like `hasError`.\n\nThis might be WAI from the perspective that it is more representative of what is actually happening. `resource` is not a single reactive value, and we should not mislead developers into thinking it is.\n\nCC @JeanMeche @AleksanderBodurri @milomg\n\n### Proposed solution\n\nThere are two potential improvements we can make though:\n\n1. Improve `debugName` so it is clear the composed signal primitives originate from a single user-defined `resource` or `linkedSignal`.\n2. Create a visual \"group\" of signal nodes under a specific `resource` or `linkedSignal`.\n\nI'm thinking that the graph would initially just treat a `resource` as a single reactive node and any dependency on `value` or `hasError` would point to that same node. But then when the user clicks on the node, they can expand it to show all the internal signal primitives (with appropriate names) and the dependency graph adjusts to depend on the specific internals it needs. This allows developers to get a high-level view up front while still supporting the more specific details when it becomes relevant to them.\n\n### Alternatives considered\n\n1. We could hide signal internals altogether and _only_ show `resource` / `linkedSignal` as a single reactive node, but this could be misleading to developers and potentially impede debugging efforts.\n2. We could ignore the grouping solution and instead just focus on better naming, keeping the graph \"honest\", but this adds complexity where it often doesn't matter.","author":{"url":"https://github.com/dgp1130","@type":"Person","name":"dgp1130"},"datePublished":"2025-08-18T17:51:47Z","url":"https://github.com/angular/angular/issues/63227"}
| 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:e3cb17d9-ae57-c310-78d2-0dd1f3db64f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAB0:35CDA5:23C746:32B56D:6AFDE306 |
| html-safe-nonce | 101031b289eb4db4fe784e4da8fa8609cf1a30375fcfe3281a9ed23a886dd356 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUIwOjM1Q0RBNToyM0M3NDY6MzJCNTZEOjZBRkRFMzA2IiwidmlzaXRvcl9pZCI6IjgwNzU2MTA5MDE4NjQ3MDE1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01c7234efb1351c5c7734bd468ec65346f8f6afd29281758de57448aa7160bb5 |
| hovercard-subject-tag | issue:3331599839 |
| 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/63227/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4f4725c27249cfdafaa19b42db1215a7fdb9bfb8cafd554b7a6bec5f3905b5a/angular/angular/issues/63227 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4f4725c27249cfdafaa19b42db1215a7fdb9bfb8cafd554b7a6bec5f3905b5a/angular/angular/issues/63227 |
| og:image:alt | Which @angular/* package(s) are relevant/related to the feature request? No response Description Certain APIs are functionally "compound signals", meaning they compose multiple signal APIs. For exa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dgp1130 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 90d7884679efe0f89b35e0eef84213a75179f38d11a62f2a0af551bbe5110799 |
| 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 | 89e3d4b2f59ef440fc496c853aee1d9a06a137d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width