JavaScript Tutorials
Promise.all for Rejections and Resolves
Promises have been an incredible addition to JavaScript; they save us callback hell, make coding async more maintainable, and and allow us to keep track of multiple async processes at a time.
Promise.all
comes to mind, allowing us to react when multiple promises have been resolved. UnfortunatelyPromise.all
only resolves when...WhitestormJS v2 Beta: New Ecosystem
We always improve our apps: refactor, update dependencies, practices as well as user experience. In whitestorm.js v2 we update API, app structure. The main goal of the second version is to improve flexibility as much as we can. 3D rendering is a bit more complicated than I...
Follow URL Redirects with Node.js
URL shorteners are a dime a dozen these days, and it is quite nice to have a pretty URL instead of a mile long string, but there are some downsides to URL shorteners: they can mask dangerous URLs and getting to the endpoint can be slow, since you...
System Notifications with Node.js
Notifications can be a godsend or the bane of our existence these days. Every app you install on your phone wants access to notifications, as do desktop apps, and now we have a Web Notifications API along with a Web Push API, just in case you don't already have...
State Reset and Update with React
If you follow me on Twitter, you'll know that I've taken a real liking to React, as has seemingly everyone else in the JavaScript development world. The React app I'm working on is relatively small, making fetch requests to send and receive data, rendering...
Merge Object Properties with the Spread Operator
Last week I wrote 6 Great Uses of the Spread Operator, a post detailing how awesome the spread operator (
...
) is for working with arrays and other iterable objects. As always my readers chimed in with a few other great uses and which you should check out in...6 Great Uses of the Spread Operator
Thanks to ES6 and the likes of Babel, writing JavaScript has become incredibly dynamic, from new language syntax to custom parsing like JSX. I've become a big fan of the spread operator, three dots that may change the way you complete tasks within JavaScript. The following is...
ES6 JavaScript Minifier: babili
The Babel toolchain is amazing. We've used Babel to write ES6 JavaScript well before ES6 features hit browsers, we use it to parse JavaScript and write JSX, and much more. Babel can do just about anything with the JavaScript language and I've just learned of...
Manage Bitcoin with the Coinbase API
One of my biggest recent regrets was not pouring money into bitcoin when Kim Dotcom said we should; this was approximately 18 months ago when the bitcoin value was $170. Today bitcoin value has topped $1000 which is why I'm kicking myself so hard. I buy my bitcoin...
ES5 to ES6 with Lebab
We all love the goodies that come with ES6, many of them which you can see in Six Tiny But Awesome ES6 Features and Six More Tiny But Awesome ES6 Features, like native class support, arrow functions, and other language improvements. Now that browsers support most...