Watch “Use a status enum instead of booleans” on egghead.io Watch “Handle HTTP Errors with React” on egghead.io (part of The Beginner’s Guide to ReactJS) Let’s play around with the Geolocation API a bit and learn about the perils of ...

In this tutorial, you’ll learn how to transform the character case of a string — to uppercase, lowercase, and title case — using native JavaScript methods. JavaScript provides many functions and methods that allow you to manipulate data for different ...

We should always ship fast experiences to our users, but sometimes something slips through our PR review process and our users start having a slow experience. Unless they complain to us, we often have no way of knowing that things ...

In this article, we’ll look at how to generate random numbers in JavaScript with Math.random(), building a function that you can reuse for a wide range of purposes — such as loading random images, picking a random element from an ...

Watch “When to useState instead of useReducer” on egghead.io Watch “When to useReducer instead of useState” on egghead.io Whenever there are two things to do the same thing, people inevitably ask: “When do I use one over the other?” There ...