My Blog
Welcome to my blog! I write about programming, tech, and things I find interesting in my journey as a developer. I hope you enjoy reading and maybe learn something new along the way.
-
Understanding how React handles rendering and re-rendering of components.
-
Discover the benefits of React Server Components (RSC) and how they improve data fetching and performance in React applications.
-
Exploring the reasons behind my preference for React over other JavaScript frameworks.
-
How EU legislation forced us to confront our accessibility blindness—and why it was the best thing that happened to our code.
-
Reflections on the Journey to Become a Senior Developer, exploring the stages from junior to senior, and the importance of mentorship and growth.
-
Learn why VPNs are essential for developers and how they can make your coding life easier.
-
Pitfalls and solutions for JavaScript developers
-
Dependency injection might sound complicated, but it's actually a straightforward concept that can significantly improve your code.
-
Understanding the `this` keyword in JavaScript. Knowing how `this` behaves in different scenarios is a crucial skill for any JavaScript developer.
-
Loading our scripts in the html file has most of the time been a recommendation to put the `<script>` at the bottom of the `<body>` tag. Since parsing the script is a blocking operation and we would block the whole HTML parsing if we would put the script tag in the `<head>` tag for example. But today we have two new attributes that we can add to our `<script>` tag, I am talking about _async_ and _defer_. In this blog post I will go through how they work and which one we should choose for a given scenario.
-
Stack vs heap and how they are used in programming languages
-
When working as a developer, knowing about synchronous and asynchronous models are important. By the term, it gives us a clue on what each programming model does and the main differences between them. Synchronous tasks happen in order, step by step. It has to finish its task until go to next task. Asynchronous tasks can be executed in random order. How do we use this models and when are they useful, let's go through examples and build a better mental model about synchronous and asynchronous programming.
-
Being a software developer is enjoyable and feels like having a superpower, allowing us to construct things through computers by writing and reading code. We are fortunate to have one of the best jobs in the world, in my opinion. However, like any other profession, it has its challenges.
-
The Singleton pattern ensures that only one instance of a class is created and provides a global point of access to the instance.
-
Memory management is a crucial part of any programming language. In this article, we will see how JavaScript manages memory.
-
A post about JS closures.
-
Margin collapsing is a peculiar CSS behavior that occurs when the margins of adjacent elements interact in a way that leads to a combined margin space, rather than the sum of individual margins. In other words, the margins collapse into one another. This behavior is not a bug, but rather a defined feature in the CSS specification.
-
Debounce is a valuable technique for optimising code in our programs. By employing debounce, we can ensure that our code is triggered in a controlled manner.
-
Immutability is a core concept in programming that refers to the inability to change an object after it has been created. In this article, we will explore the importance of immutability in programming and how it can lead to more predictable and maintainable code.
-
The Proxy pattern in JavaScript acts like a helpful middleman between you and an object. It lets you control how that object is accessed and used, making it perfect for features like data validation, lazy loading, and logging. It's a simple but powerful way to customize how objects behave in your code.
-
Prototype is the way in JavaScript to share methods across all instances of a function. It is commonly used to create new objects in JavaScript.
-
Abstraction is a technique to manage complexity by making a system simple to use, while hiding unnecessary details of what is really happening.
-
The :has selector in CSS has taken the CSS community by storm, offering the power to accomplish complex tasks with ease. In this post, I will provide a comprehensive overview of how the :has selector works, how to use it, and what it replaces.
-
Trust in React and why you should use it.