Building A Vote Counting App With The Latest Promise Functionality
Learn to build a simple vote counting app using the latest JS promise syntax
Subscribe below to keep up to date with the most exciting developments in JavaScript .
Announcement
I am now including a video walkthrough of each JS topic in every newsletter. See the first one below.
Promise.allSettled
This week we are looking at a brand new JS language feature and how it makes handling certain async tasks in JavaScript a much better experience. The example application is a vote counting app. Feel free to run the code and explore how Promise.allSettled is really working.
Docs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
https://sung.codes/blog/2019/05/18/promise-race-vs-promise-any-and-promise-all-vs-promise-allsettled/
Follow Me
If you enjoyed this post, follow me on twitter. Im usually tweeting about JavaScript and interesting side projects.
Subscribe
Subscribe and never miss the latest tutorial on the most exciting additions to the JS ecosystem.
Feedback
Did you enjoy this content? (hit thumbs up or down below)