I’m excited to announce my latest project, LearnLanguageOnline—a website offering free language lessons and exercises. This post outlines both the user experience and the technical development process. For Language Learners As a language learning enthusiast for over a decade, I’ve used…
Posts for "javascript"
Building a Simple Inline Edit Form with React
Aleksandar Rusev
Creating intuitive inline editing functionality is a common requirement in modern web applications. In this tutorial, we’ll build a clean, performant implementation using only React – no additional libraries required. While we’ll focus on text input fields, the approach can be easi…
Dockerizing Node.js, Prisma ORM, and Postgres – A Complete Tutorial
Aleksandar Rusev
Want to build a Node.js application with Prisma ORM and PostgreSQL without the hassle of a complex setup? This tutorial will show you how to leverage Docker to get up and running quickly. We’ll create a simple Todo app that demonstrates the core concepts, and you’ll learn patterns you ca…
A Developer’s Guide to Improving Largest Contentful Paint(LCP) for better web performance
Aleksandar Rusev
In recent years, Web Performance has become a critical topic, not only for developers but also for SEO specialists and marketers. Companies are increasingly investing in improving web performance, as it directly impacts Google’s ranking algorithm and, by extension, the visibility of their business…
React – how to manage forms and validation with useReducer
Aleksandar Rusev
An essential part of our work as developers is to build forms, that allow our end users to provide input to our applications. There are multiple approaches on how to build and manage forms with React and in this tutorial I want to present my preferable way. Multiple times I’ve seen forms where…
How to search for a string in a nested array of objects and keep the nested structure
Aleksandar Rusev
Introduction Let’s imagine that we have a navigation, composed of 3(or more) levels of nesting. Our task is to add an inline search, allowing the user to search for a keyword in the navigation but, at the same time, we need to keep displaying the hierarchical structure of the menu, so that the…
When to use type vs. interface in TypeScript?
Aleksandar Rusev
In this short article, I will guide you through the decision process for how to decide whether to use type or interface when using TypeScript. For this purpose I have created a table, which clearly shows what the main differences between type and interface are. The table will help you better underst…