Yay another one! :) Went recently to transform all of the forms on my work to use Promise.all instead of two subsequent api calls. So simple but it makes a difference.
@leighhalliday4 жыл бұрын
Hey Dominik! I haven't used it too many times, but it's nice to know how it works for when it is needed.
@erikakim71864 жыл бұрын
so nice example!! love this
@leighhalliday4 жыл бұрын
Thanks Erika! Glad you enjoyed it, thanks for the support!
@abessesmahi48884 жыл бұрын
Another interesting tutorial, thank you sir.
@leighhalliday4 жыл бұрын
Thanks again, Abesse!
@preeeby4 жыл бұрын
You forgot Promise.race :-)
@leighhalliday4 жыл бұрын
Haha, no, I specifically didn't cover it... Promise.race, Promise.allSettled, both have their places but they deal with possible failure states and I didn't want to get too into that in that video... plus it leaves room for part 2 ;)