Leigh Halliday is a full-stack developer specializing in React and Ruby on Rails. He works for FlipGive, writes on his blog, and regularly posts coding tutorials on YouTube.
Knowing the similarities and differences between Google Maps and MapBox within a React app will help you pick the right tool for the job. This article compares and contrasts these two popular libraries, getting you up and running with whichever one you choose.
Having fast and consistent results is vital to testing effectively. Working with and testing your React components that use GraphQL queries is no exception. In this article, we'll explore both static and dynamic mocking options.
When localStorage and cookies reach their limits, when their thread blocking nature slow your app down, it's time to reach for IndexDB. But why live with the low-level API that can be clumsy to get the hang of? Reach for PouchDB and start taking advantage of this asynchronous, performant browser storage today.
Should you use localStorage or cookies to store your authentication token? What are the tradeoffs to each approach and how can you tie them all together? Did you know that localStorage can even be used to synchronize logout across multiple tabs?
With promises, we get the ability to use async/await — syntax that can convert nested, hard-to-read functions into straightforward and easy-to-digest code. Let's take a look at how we can convert our own legacy code or other browser APIs such as geolocation, which still rely on callbacks, into Promise-ready functions.