Handling Promises are very hard now a days, but there’s an easy way to deal it!
Traditional Way: so many then and catch blocks 🥴
Modern Way: With the help of async and await we can get rid of then and catch blocks and improves code readability! 🥳
Comment your thoughts and share to your friends
Top comments (0)