February 3, 2025
The web is inherently unreliable. Whether you're calling an external API, performing a complex calculation, or waiting for a user operation to complete, things can go wrong. One of the most insidious issues is when operations simply hang - they neither succeed nor fail, leaving your application in limbo. This is where timeout patterns come to the rescue.
January 27, 2025
In modern distributed systems, failures are inevitable. Whether it's a network outage, service downtime, or resource exhaustion, your application needs to gracefully handle these scenarios. This article explores various fallback patterns in TypeScript that can help build more resilient systems.
January 20, 2025
Learn about resilience patterns and how to implement the Circuit Breaker pattern in TypeScript to build robust applications.
January 18, 2025
In today's web applications, handling user input efficiently is crucial for performance. One common challenge is managing frequent events like window resizing, scroll events, or real-time search input. This is where the debounce function comes in handy – a powerful technique to control how often your code executes.
January 15, 2025
Learn how to simplify your TypeScript classes with the constructor shorthand syntax. This technique helps you write cleaner and more concise code.
December 23, 2022
Despite useReducer has been always linked to redux, it's the most awesome hook and way more superior than useState to handle the state.
December 22, 2022
It's quite impressive the technical skills chatGPT has developed, at least to evaluate the adoption of a technology. Change DDD by any other technology and you'll get the same result.
July 26, 2022
One of the rule to optmize context api performance is to split make them small. This can be translated in a bigger amount of smaller contexts, and just like that, you will end up with the Context pyramid of hell.
June 18, 2022
This site is running on Next.js
December 12, 2021
This post is based on an internal lightning talk I did for my team at my current company
September 30, 2021
Let’s take a look at how to test a react component that is dependent
September 29, 2021
Think about everything that involves making requests: loading states, error handling, cache, latency...
December 2, 2020
Sometimes, you need to render JSX conditionally based on some conditions or state. Read how we can use reducers to avoid ternary operations abuse.
December 1, 2020
Polling, in computer science, refers to actively sampling the status of an external source of data. For instance, it's a common technique when you upload a file to the server and you want to measure the progression. It's useful also when you want to check if some external library has been loaded and it's ready to use.
June 24, 2020
Last week I was coding a feature in my current project and I learned something new. Well, better said, something I didn't know or something I was using wrong.
May 13, 2020
I’ve been reading a lot about _design tokens_ lately, and I think they’re super interesting. Design tokens are tiny pieces of UI information to store design related information such as colors, fonts, spaces, animations, etc...
April 12, 2020
State management in complex React applications was a hard task before redux came up. Redux is a small library designed to manage the state of data in JavaScript applications.
April 6, 2020
Documentation is a key part and more often under-rated aspect of any product.
April 5, 2020
Everyone knows what popup notifications are, but what does `Toast` mean?
March 30, 2020
Our unit tests should never rely on code that is outside our control and they certainly shouldn't be calling across the network to a server. A good test needs to be repeatable and fast and relying on outside systems and/or data doesn't help us meet those goals.
March 29, 2020
Vivimos una crisis sanitaria y económica sin precedentes, en todo el mundo. Más de un tercio de la población mundial está en confinamiento, trabajando desde casa, los que podemos, sin la libertad de salir a dar un paseo, algo tan simple y que todos damos por hecho.
October 21, 2019
First of all, is css reset still needed in 2019? I actually think it never has been necessary. But a CSS reset will help you to make your project maintain the look and feel between every browser and might save you a lot of time of browser-testing and debugging.
October 18, 2019
Vivimos tiempos complejos, donde el nivel de exigencia es altísimo. Lo que llamamos social media, nos bombardea a diario, a todas horas, con contenido acerca de lo que podríamos ser y como conseguirlo.