Skip to main content

3 posts tagged with "package"

View All Tags

· 4 min read
Patrik Mäsiar

You may have already encountered the problem that you used the same code in your projects. Whether they are components or functions. You do not want to write your code twice. Then the rule applies: “Write once, run everywhere.”. These cases are suitable for creating NPM libraries.

· 2 min read
Patrik Mäsiar

As time flies, we in Kontentino are developing new features and preparing improvements for our users. And as we develop, we need new custom components.

Sometimes, it is harder to find whether components, libraries, or solutions that fit our requirements. In cases like these, we need to develop our own solutions.

One of these problems like this was when we were developing a filter that looks like a dropdown selector with multiple options. We realized, that there are not so many reusable packages like our component.

· 2 min read
Patrik Mäsiar

Every one of us knows the case when you need to add more class names to style your component depending on some conditions, but you do not want to have negative boolean values in className prop.

We had the same issue.

So, what are you going to do if you need to solve a problem like this?