Skip to content

docs(signals): clarify when to use linkedSignal over computed#67366

Open
anushkasingh-commits wants to merge 1 commit intoangular:mainfrom
anushkasingh-commits:patch-2
Open

docs(signals): clarify when to use linkedSignal over computed#67366
anushkasingh-commits wants to merge 1 commit intoangular:mainfrom
anushkasingh-commits:patch-2

Conversation

@anushkasingh-commits
Copy link
Contributor

What does this PR do?

Adds a clarifying section explaining when linkedSignal should be preferred over computed.

The documentation already explains how linkedSignal works, but it was not explicitly clear when it should be chosen instead of computed. This addition clarifies that linkedSignal is appropriate when the derived state must remain writable or preserve user-driven updates while still reacting to a source signal.

Why is this change needed?

Readers may understand how linkedSignal behaves, but still be unsure about when to use it over computed. This clarification helps reduce that ambiguity without restructuring or expanding the guide significantly.

Scope

  • Documentation only
  • No behavioral changes

@pullapprove pullapprove bot requested a review from atscott February 28, 2026 07:10
@angular-robot angular-robot bot added the area: docs Related to the documentation label Feb 28, 2026
@ngbot ngbot bot added this to the Backlog milestone Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant