Blog

Blog's main page
Page 1/2 | Articles: 6 | All languages
EN
Picture of the article: React compound components: Scalable and reusable

React compound components: Scalable and reusable

The compound component pattern is a powerful way to build flexible and reusable React components. Instead of overloading props, you split responsibilities into smaller subcomponents, offering a clean API and better scalability. Learn how to implement it with a practical UserCard example.

EN
Picture of the article: Avoidable Mistake: Dynamic Tailwind Class Access

Avoidable Mistake: Dynamic Tailwind Class Access

Tailwind is powerful, but sometimes we want to bend the rules — for example, by generating class names dynamically. While this may seem convenient, it often leads to subtle issues. Let’s look at the common mistakes, why they happen, and how to handle them properly.

EN
Picture of the article: React and Tailwind CSS simple progress indicator

React and Tailwind CSS simple progress indicator

I believe that a website or app's progress indicator should respect the global theme and have a touch of originality. That's why I never use an external library or package for it. I prefer to create my own component, keeping it as lightweight as possible and fully customizable.

With React and Tailwind, it's a piece of cake !