6 min read
From Gatsby.js to Astro
How I migrated my website from Gatsby.js to Astro. What I liked about Astro and some problems I encountered during the migration.
- JavaScript
18 articles tagged “JavaScript”, from 2017 to 2024.
6 min read
How I migrated my website from Gatsby.js to Astro. What I liked about Astro and some problems I encountered during the migration.
3 min read
How I use Notion as a CMS for my website built with Gatsby.js. The script can also be used with different static site generator like Astro and Next.js
5 min read
A case study of changes implemented to improve the performances of a React application.
2 min read
A step by step tutorial on how to publish an npm package for ECMAScript Modules (ESM) and CommonJS (CJS) with TypeScript
3 min read
My thoughts about Turborepo, a tool that facilitates your monorepo management.
3 min read
How I reduced the rendering of a complex component by 10 (from ~4s to ~0.3s).
7 min read
How Testing Library helps you to write better integration test
2 min read
How to unit test components that have HTTP calls.
1 min read
A cool wrapper to write promises without using a try...catch block
5 min read
High code coverage doesn't guarantee quality: You can write tests that cover every line but miss edge cases or core functionality.
4 min read
How I created dynamic Open Graph images for my Gatsby website
2 min read
A guide on how to deal with unit tests that uses the JavaScript Date object.
8 min read
1. Split your application into completely isolated modules. 2. Consider micro-frontends architecture. 3. Don't put everything in the Vuex Store
5 min read
Why I migrated my blog from Jekyll to GatsbyJS after 3 years: what I liked about Jekyll, what pushed me away, and what Gatsby brings.
7 min read
A deep dive into JS immutability, guiding you on how to achieve it without relying on external libraries.
6 min read
Level up your JavaScript interview skills! This post tackles common exercises, offering clear explanations to help you ace the coding challenge.
2 min read
How to apply an unknown number of filters to a JavaScript collection, with a recursive filter function instead of an imperative loop — and why extending Array.prototype is a bad idea.
7 min read
Some alternatives to traditional for/while loops in JavaScript. Also how to address set theory with array of objects (union, intersection and difference).