Watch “Reduce cognitive load for readers of your code by avoiding nesting of closures” on egghead.io If I come across code like this: function getDisplayName({firstName, lastName}) { const upperFirstCharacter = string => string.slice(0, 1).toUpperCase() + string.slice(1) return `${upperFirstCharacter(firstName)} ${upperFirstCharacter(lastName)}` } ...

What is a REST API? REST is an acronym for Representational State Transfer — an almost meaningless description of the most-used web service technology! A REST API is a way for two computer systems to communicate using the HTTP technologies ...

Watch “Fix ‘React Error: Rendered fewer hooks than expected'” on egghead.io I got a great question from Taranveer Bains on my AMA asking: I ran into an issue where if I provided a function that used hooks in its implementation ...

I recently came across this blog post from Ruud van Asseldonk titled “The YAML Document From Hell.” I’ve always heard that YAML has its pitfalls, but hadn’t looked into the details and thankfully hadn’t been affected, mainly due to my ...

In this article, we’ll dive into Cypress testing. Cypress is a modern, open-source test automation tool for web applications. We’ll take a look at how to set up and use Cypress for testing web applications, and we’ll also look at ...