Blog

Featured image for 'Building Timeless JavaScript Projects: Ensuring Consistency in Dependencies and Versions' post

Building Timeless JavaScript Projects: Ensuring Consistency in Dependencies and Versions

There's a unique satisfaction in revisiting a project a year later and finding it seamlessly functional, but, in the ever-evolving world of JavaScript, there's a common sentiment that leaving a project untouched for a few months is akin to signing its death warrant. In this guide, we'll explore strategies for setting up a JavaScript project to ensure that it remains not only functional, but also robust.

Read more

Featured image for 'Stop using Google Fonts, stop fueling the flames' post

Stop using Google Fonts, stop fueling the flames

More than 50 million websites use Google Fonts right now. I know that asserting that all of them are wrong could sound a bit arrogant but, in this post, I'll explain why I think they should stop doing it right now and how they (you) can avoid doing it.

Read more

Featured image for 'How to implement light and dark modes with a toggle switch on your website' post

How to implement light and dark modes with a toggle switch on your website

I've recently rebranded and redesigned the look and feel of my website. As a part of that redesign, I've implemented both a light and a dark theme that will automatically be selected based on the user's preferences; it also includes a toggle switch that will allow the user to change that preference for this website. In this post, I will show you how I did it.

Read more

Featured image for 'Reinventing the wheel: DIOD (a new Typescript dependency injection library)' post

Reinventing the wheel: DIOD (a new Typescript dependency injection library)

Dependency injection is a recurrent pattern in complex applications, and each day it is becoming more common to see it applied with Typescript. But TS has some quirks when comparing with classic languages, like Java or C#, that we need to bear in mind. In this post, I'll talk about them and about how they pushed me to reinvent the wheel by creating a new-brand DI library: DIOD.

Read more

Featured image for 'Decoupling SPAs from the framework, a practical example' post

Decoupling SPAs from the framework, a practical example

The javascript framework war that we are seeing today is harder than the one we've seen in the Game of Thrones series. To choose the proper framework is one of the most important decisions we need to take when starting a new project and that's why there are hundreds of posts on the internet comparing frameworks: reactivity, extensibility, adoption... This is not one of those posts.

Read more