mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: fix typo in toh-pg6.md (#49141)
Line 425. Change burning to burn. PR Close #49141
This commit is contained in:
parent
fda3f677d1
commit
acff3c6d86
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ The `searchTerms` becomes an `Observable` emitting a steady stream of search ter
|
|||
|
||||
### Chaining RxJS operators
|
||||
|
||||
Passing a new search term directly to the `searchHeroes()` after every user keystroke creates excessive HTTP requests, which taxes server resources and burning through data plans.
|
||||
Passing a new search term directly to the `searchHeroes()` after every user keystroke creates excessive HTTP requests, which taxes server resources and burns through data plans.
|
||||
|
||||
Instead, the `ngOnInit()` method pipes the `searchTerms` observable through a sequence of RxJS operators that reduce the number of calls to the `searchHeroes()`. Ultimately, this returns an observable of timely hero search results where each one is a `Hero[]`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue