Drop deprecated `toPromise` and use `lastValueFrom` operator
See original GitHub issueRxjs refactoring to drop the deprecated toPromise method in favor of the lastValueFrom operator.
Issue Analytics
- State:
 - Created 2 years ago
 - Comments:5
 
Top Results From Across the Web
RxJS heads up: toPromise is being deprecated - InDepth.Dev
In RxJS 7 toPromise will become deprecated and with RxJS 8 it will be gone! So avoid using toPromise in your future development...
Read more >Resolve topromise Deprecated with lastValueFrom in Calling ...
In this video, I will demo how to Resolve topromise Deprecated with lastValueFrom in Calling Web API in AngularTo download all sources code ......
Read more >RxJS 7 and Beyond: What to Expect and Prepare For
toPromise operator will be deprecated in RxJS 7 and it will be removed ... In its place, you'll find firstValueFrom() and lastValueFrom() ....
Read more >RxJS 6.x to 7.x Detailed Change List
Simply renamed versions of the operators zip , concat , merge , and race . So we can deprecate those old names and...
Read more >Error while importing RxJS operators in Angular - Stack Overflow
import { catchError, tap } from 'rxjs/operator'; ... Also, if you're using toPromise you need to know that it is being deprecated in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Seems like #324 also fixed #342
Also, there is a version conflict between rxjs 6 and 7 in the semver package for lastValueFrom v7 is required