379 likes
Β·
55.9K reads
56 comments
This is a gem π, I'm impressed by the quality of this article. How well are you explaining, I have a lot to learn from you bro. Its super awesome you connect real life stories with the JavaScript concepts and gave a very meaningful output. The table where you distinguish both also became useful.
Wow, Appreciate your hard-work behind this masterpiece Tapas Adhikary. Can't wait for the more awesome articles in this series π
Thanks a lot, Savio. Means a lot. I'm surely going to work hard on the rest of the series to make it easygoing π
I have expressed how much I loved this article on Twitter but I'll do it again here! Well done! A very creative and original article that the one and only Tapas can write!!
Thank you π€©. No words...
Amazing article Tapas Adhikary. This is probably the easiest way someone has explained promises.
Yay, thank you Apoorv. Please feel free to share it in your circle. Someone may find it useful π.
This article explains everything like as for 5 years old. This is super helpful!! Exactly for meππ Thank you for sharing!
Thanks a lot, Neha. I'm very glad, you found it helpful.
This is pretty interesting Tapas.. I have learnt a lot, ranging from article structure, real world explanation and analysis π thank you for sharing βΊ
Thanks a lot, Sir. I'm very happy to hear that π
I have a question. Do I need to use async/await?
Nyareh David, it is a great question.
The short answer is: Yes. The async/await syntax is dramatically easier than a long chain with promise. If it is in your hands, with async/await, you may seldom use the .then()
, .cacth()
methods.
But, we need to keep in mind that they are based on JavaScript promises. There are also great use cases of them working together. Promise.all()
is a classic example. Lastly, take my interview
warning at the beginning of this article.
Longer answer: I am preparing the content around it. Especially the usages of each and both together. You will find them published on my blog as part of this series and Youtube Channel in a few weeks. Stay Tuned.
Have a great day!
wow Tapas Adhikary, this is the best explanation I have come across on JS promise ever.
Looking forward to more of this sir.
Keep setting the pace.
Thank you very much. Surely.. The next one is on it's way π
Best explanation ever π€©, with the story it was very easy to understand!
Thanks, Favourite π.
Thanks, Favourite π.
This is superb! JavaScript Promise has never been this clear.. I felt like I was really five π I love the analogy you used man.. Looking forward to the next article π
Sure man. Thank you very much. Glad, you found it helpful.
Incredible. The way you explain things makes the concept much more fun and easy to learn.
Thank you very much... Means A lot to me π
Excellent article Tapas Adhikary!
I love this new series of yours.
Thank you π.
Love the explanations after the code examples. Can't wait for more in this series. Thanks Tapas Adhikary this is amazing.
Thank you very much Masoom Kumar
It can't be more clear, Great article and wonderful explanation
Thank you for the feedback...πππ
That's the article I needed! Very well explained. Thank you!
Great, thanks a lot Siddhi Gate. I'm glad. I'll try to make the remaining of the series informative and fun too.
Looking forward to it ππ
Awesome explaination! Thanks for sharing.
Thank you, Ashik π, for reading. Very glad.
Great explanation of Promises Tapas Adhikary.β€οΈ
Thank you, Yogesh ππ
Special work done here.. ππ
Thank you very much for recognizing it. Much appreciate π€©.
Loved the explanation! β€οΈBookmarked the post. I'll come back to it whenever I need a refresher.
Thank you, sir π
Wow Tapas Adhikary! I love this one ππ Your examples are awesome ππ
Yayy, thanks a lot π
Thanks man ππ. I read whole blog without realising I was reading in light mode ( blog was interesting and easy to understand). Great work ππ
Thanks Vansh Sharma
Best explanation ever π₯
Thanks Suhail Kakar, Glad you liked it.
Extremely beautiful and well-explained article on JavaScript πβ¨
Thank you, Yash.
Really Impressing the way you explained, this is the easiest explanation and demonstration of promises(JS) I have read.
Thanks for Sharing.
Thanks a lot, Adarsh.
A very helpful and creative way to explain! Thank you
I'm glad you liked it.
AMAZING .. many thanks.
You are welcome, Arwa Abdulalim
Amazing article of a tough subject. Thank you.
Would you mind discussing the resolve and reject callbacks in the executor function? I am having a tough time figuring out exactly what these methods do. Many examples just pass a string into them and it makes them feel like a glorified console.log() function.
Could you explain what is going on under the hood? It would be greatly appreciated. Either way, thank you for the article.
Thanks a lot, Andrew.
Could you please check this one? I have explain it in a greater details here:
JavaScript Synchronous vs. Asynchronous | Promises | Asynchronous Programming | Task and Job Queue
good explanation sir...
Thanks!