How to verify whether the promise is successful in Angular?
Pranam Bhat
Select an image from your device to upload
Explain with an example.
By using the virtual DOM and performing efficient updates to the real DOM. React minimizes the number of actual manipulations and improves performance. It allows React to batch updates, optimize rendering, and provide a smooth and responsive user interface.
You can use “.then()” to resolve promises and if any error comes you can catch it with “.catch()”.Please refer the below link.https://ericnish.io/blog/add-success-and-error-to-angular-promises/
Hello Pranam,Check out the below url I hope it will help you.https://codecraft.tv/courses/angular/es6-typescript/promises/