mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: clarify use of unsubscribe with HttpClient (#47127)
fix: #46542 PR Close #47127
This commit is contained in:
committed by
Pawel Kozlowski
parent
5509e3512f
commit
1329707327
@@ -120,7 +120,7 @@ This is true for *all* `HttpClient` *methods*.
|
||||
|
||||
<div class="alert is-helpful">
|
||||
|
||||
The [`AsyncPipe`](api/common/AsyncPipe) subscribes and unsubscribes for you automatically.
|
||||
You should always unsubscribe from an observable when a component is destroyed.
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user