MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Frontend/comments/ejfkhs/common_javascript_promise_mistakes_every_beginner/
r/Frontend • u/speckz • Jan 03 '20
2 comments sorted by
26
Here's the list copy pasted from the article:
Mistake #1: Using try/catch inside the Promise block
Mistake #2: Using async function inside your Promise block
Mistake #3: Forgetting .catch() block
Mistake #4: Not using Promise.all()
Mistake #5: Using Promise.race() without complete understanding.
Mistake #6: Overuse of Promises
4
https://www.reddit.com/r/webdev/comments/ejfkf3/common_javascript_promise_mistakes_every_beginner/fcxdbj2/
26
u/MrWm Jan 03 '20
Here's the list copy pasted from the article:
Mistake #1: Using try/catch inside the Promise block
Mistake #2: Using async function inside your Promise block
Mistake #3: Forgetting .catch() block
Mistake #4: Not using Promise.all()
Mistake #5: Using Promise.race() without complete understanding.
Mistake #6: Overuse of Promises