React Props/State Explained Through Darth Vader’s Hunt for the Rebels

If you’ve seen Star Wars, then you can understand props and state. Props and state are essential to writing readable React code. But they’re hard concepts to grasp, because they’re based around an entirely different paradigm than Angular or jQuery (if you have used either of those). But don’t worry — I’m going to clear everything up with…… Continue reading React Props/State Explained Through Darth Vader’s Hunt for the Rebels

JavaScript Closures Explained by Mailing a Package

If you have mailed a package or letter in the past, then you can understand closures in JavaScript. On your journey to becoming an intermediate or advanced JavaScript dev, you may have come across closures. After reading a technical resource on the subject… you also probably ran in the opposite direction. Here is the awesome…… Continue reading JavaScript Closures Explained by Mailing a Package

JavaScript Promises Explained By Gambling At A Casino

Promises might seem confusing… until you find yourself in “callback hell.” Then they seem reasonable! We all love the asynchronous capabilities of JavaScript. In fact, we love them so much that sometimes, we overindulge. And then we get code that looks like this “pyramid of doom”, at which you’ll want to respond by throwing a…… Continue reading JavaScript Promises Explained By Gambling At A Casino