peetzweg / aves

0 stars 0 forks source link

Use Promise All to pass data through next promise #34

Open peetzweg opened 7 years ago

peetzweg commented 7 years ago

Lucas mentioned it's best practice to use promise all to pass data to the next promise instead of local variable

peetzweg commented 7 years ago

https://hackernoon.com/javascript-promises-best-practices-anti-patterns-b32309f65551#.b5jd6i6sp