Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wildrhythms
on April 16, 2022
|
parent
|
context
|
favorite
| on:
I Avoid Async/Await
As soon as you need to chain Promises, this gets very annoying and you quickly find yourself in a nested callback hell.
bin_bash
on April 16, 2022
[–]
If you’re nesting “new Promise” you’re almost certainly doing it wrong. This is for generating new promises not executing them.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: