1 min readJan 8, 2020
Great summary and good rules of thumb on when to use each.
I have a love-hate relationship with async-await’s: It is more readable than promises, but the ideal requirement of a try-catch block largely negates that aesthetic.
For me, I tend to rely on an all encompassing error handler (Vue’s got one inbuilt for example) when there is a very low chance of an error just so that the code stays readable… But every time I do, I wince a little before I move on 😂