Writing
Latest Articles
2023
-
Fetch priority and Largest Contentful Paint (LCP)
How to use the fetch priority API to improve LCP and the user experience
-
Interfaces vs Types in TypeScript
Is there a real difference between the two? And if so, which one should I use? Let's find out!
-
An example of programming language evolution
Modern vs old JavaScript. The differences when copy and array and replace an element.
-
ECMAScript 2022 - My most used features of the year
What was added to the language in the 2022 version of JavaScript and which features I'm using the most.
-
ECMAScript 2023 - JavaScript gets new goodies
What's coming in the 2023 version of JavaScript. A quick overview of the new features
-
Co2.js - A library to measure the web carbon emissions
It's a lightweight library that can be easily added to any web application and used to track and analyse its carbon footprint
-
How to clone an object in JavaScript
Shallow copy vs deep copy. A comparison of the different ways to clone an object in JavaScript
-
Solving z-index wars with the stacking contexts
Possibly the best strategy to solve z-index madness
-
How to add a middleware to an AWS Lambda
The easiest and most effective way to add a middleware to an AWS lambda using Middy
2022
-
How to optimise React with useMemo and useCallBack
How to take advantage of useCallBack and useMemo and when to avoid them
-
Types in Typescript - Any and Unknown
Let's talk about two of the most misused types in Typescript and how to handle types unknown at the time you develop.
-
Types in Typescript - Primitive Values
A detailed look into the primitive types in Typescript
-
Say hello to my new (unfinished) website
After six years and multiple attempts, I finally managed to put a new website together