Watch “Fix the “not wrapped in act(…)” warning” on egghead.io Watch “Fix the “not wrapped in act(…)” warning with Jest fake timers” on egghead.io Watch “Fix the “not wrapped in act(…)” warning when testing Custom Hooks” on egghead.io Watch “Fix ...

In this tutorial, you’ll learn the different ways you can split a string into substrings, and when each method is useful. Strings can be easily manipulated in JavaScript for different purposes — using native methods available in the language. We’ve ...

I remember being with Matt Zabriskie when he hatched the idea of a vanilla JavaScript version of AngularJS’s $http service. It seemed like a brilliant idea and that night in his hotel room at MidwestJS, he put together the first ...

In this article, we’ll explore various ways of rounding numbers in JavaScript. This will include using JavaScript math functions, and other methods for rounding to decimal places. We’ll also cover gotchas to watch out for when rounding numbers. JavaScript Rounding ...

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