I wrote a quick tip on how to reduce promise nesting:https://github.com/sindresorhus/promise-fun#how-can-i-reduce-nesting …
-
-
Replying to @sindresorhus
IMHO this step doesn’t “simplify” things: It hides prepare’s signature. More explicit (previous snippet) is better.pic.twitter.com/GRsOZ3fXVb
2 replies 0 retweets 2 likes -
Replying to @mathias
Hmm, I see your point, but you can see the signature from the Promise.all call in the above statement.
1 reply 1 retweet 3 likes -
Replying to @sindresorhus @mathias
Alright, removed:https://github.com/sindresorhus/promise-fun/commit/df4bacd9b8d19eca71335f2b76ceb93f228e3b0f …
1 reply 1 retweet 3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.


