2 ms·
Agree with this. Async await is just a lot cleaner syntax. The problem with callback hell is making sense of flow and handling the error at every step. Promise
by nojvek 10y ago
Agree with this. Async await is just a lot cleaner syntax. The problem with callback hell is making sense of flow and handling the error at every step.
Promises certainly help but you also see abuse of then callback hell where rather than chaining, someone would nest the thens.async await is also great for debugging.