- Released shlink-web-client v4.0.0
After more than 10 months since v3.10.0 was released, with only a couple patch releases in between, and a lot of effort put into pushing this release out, in January 2024, shlink-web-client 4.0.0 has been finally released. As opposed to v3.0.0, which introduced many visual changes, v4.0.0 focuses on…
category Archive — "web"
— 2024 —
— 2023 —
- Build a search page for your astro static blog with fuse.js
Recently, I migrated this very blog to Astro, and I took the opportunity to modernize the search system. I was then using lunr, which was a bit unmaintained, and not playing well with modern build tools. Introducing fuse.js Looking for alternatives I found fuse.js, a fuzzy-search library, with zero …
- My thoughts after migrating content-centric websites from Next.js to Astro
Context Around four years ago, I started to use Next.js in some projects, including this blog. These projects were not applications, but simple landing pages and documentation sites, where content written in markdown was a first class citizen. I remember that I was looking for a modern static site g…
- My current take when publishing packages to the npm registry
I have always struggled with how packages are versioned and published to the npm registry. My main concern is that you probably want to also add a git tag to your source code when you are releasing a new version, but npm packages have their own versioning system, and include a "version" field in the…
— 2022 —
- My experience migrating to Redux Toolkit (RTK)
A couple of weeks ago I migrated a React project using redux to Redux Toolkit. Redux has always been my preferred state management tool for React (which doesn't mean I "love" it), but one of its main problems is the amount of boilerplate code it requires. Because of that I had a couple of helper fun…
- How to reduce duplication in your GitHub Actions workflows
In 2019, GitHub published their own solution to run automated workflows called GitHub Actions, which allowed those hosting their code in GitHub, to be able to define and run their CI/CD pipelines in the same platform. When it was released, one of the main pain points to use it was that defining pipe…
- My experience migrating from enzyme to react testing library
Recently ReactJS v18 was released. I started to look into its improvements, and checked which of my projects could benefit from them. The main react-based project I maintain at the moment of writing this article is shlink-web-client, so I naturally created a new branch and started the process. The u…
— 2021 —
- Setting-up a preview environment for your client-side apps with GitHub Actions and GitHub Pages
In the last couple of days I have been playing around with the idea of combining GitHub Actions and GitHub Pages to be able to dynamically build preview environments every time a pull request is opened against a repository hosting a client-side web app. The idea is that you can quickly preview the c…
— 2020 —
- Released shlink-web-client v3.0.0
Two days ago I released the first major version in almost 2 years for shlink-web-client, a web UI for shlink, my self-hosted URL shortener. This new version introduces several improvements to the project, and I thought it was worth writing a post to explain all of them in depth. New design The proje…
— 2018 —
- Dependency injection in nodejs projects
Some of you know that I work now as a full stack javascript developer, and I have interacted with a few different projects, both in front-end javascript and in nodejs. My main concern about javascript has been that, apparently, the community has not adopted one of the practices that, for me, has bee…