DEV Community

Discussion on: Please don't nest promises

Collapse
 
somedood profile image
Basti Ortiz

Well, it can help alleviate the confusion, but I recommend reading my recent article on best practices for ES6 promises. In it, I explained why it's best to refrain from wrapping values in promises as much as possible. I particularly discouraged the use of Promise.resolve, so I think that might be worth your read. 😉