Exploring Asynchronous Requests in Recoil
In this post, I’ll take a close look at asynchronous queries in Recoil. I’ll show you what the library is capable of and how it blends seamlessly with React. Let’s get going!
In this post, I’ll take a close look at asynchronous queries in Recoil. I’ll show you what the library is capable of and how it blends seamlessly with React. Let’s get going!
When I first started writing Ruby code professionally back in 2011, one of the things that impressed me the most about the language was its flexibility. It felt as though with Ruby, everything was possible. Compared to the rigidity of languages like C# and Java, Ruby programs almost seemed like they were alive. Consider how many incredible things you can do in a Ruby program. You can define and delete methods at will. You can call methods that don’t exist.
In the previous chapter of this series, we looked at hot code reloading in Elixir and why we should use GenServer to implement long-running processes. But to organize a whole application, we need one more building block — supervisors. Let’s take a look at supervisors in detail.
Developing against third-party or unfamiliar web APIs can be painful and slow compared to using native libraries. For example, making requests with an HTTP client is simple enough but offers no compile-time sanity checks and no way for code suggestion tools like Intellisense to help you navigate. Worst of all, if the API you are consuming introduces breaking changes, you won’t find out until runtime.
In this two-part series, you’ll get a comprehensive overview of everything you need to know to test your LiveView applications in Elixir. In Part I, I’ll introduce you to LiveView testing guidelines and you’ll write some flexible and elegant LiveView unit tests. In Part II, you’ll write interactive LiveView tests that validate a full set of live view behaviors.
Tests are an integral part of most well-working Rails applications where maintenance isn’t a nightmare and new features are consistently added, or existing ones are improved. Unfortunately, for many applications, a production environment is where they are put under heavy workload or significant traffic for the first time. This is understandable as such tests are costly.
Measuring and offsetting your carbon footprint may seem like a daunting task. In this post, we’ll explain how to easily and quickly perform the calculations in a DIY style. Let’s go!
Linting is the process of statically analyzing code in search of potential problems. What constitutes a problem, in this case, can vary across programming languages, or even across projects within the same language. I would put these problems under a few different categories: Let’s take a look at a few examples of each.
It’s easy to get lost with dozens of plugins and frameworks when starting a new project that requires basic authentication and authorization capabilities. It doesn’t have to be that way. In this article, we’re going to explore two valuable Node.js packages — Passport and CASL — that can help you boost the security of your application by providing both authentication and authorization functionality.
In today’s post, we’ll dive into how we, at AppSignal, solved a daunting engineering challenge. Giving you a look into the kitchen, this post will show you how we tested a new database in production without having to worry about errors/downtime. Alright, let’s get cooking!