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 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