Writings

Page 7

Test-driven development in JavaScript

javascript, testing, tdd

Testing the code we are writing is crucial in the job. Even though there are teams that doesn't do tests at all, this is one of the most important parts of successful delivery.

Default styles in Storybook with Styled Components

styled-components, react, javascript, storybook

Recently I was building a Storybook for my new project. While I enjoy the encapsulation it provides, global styles such as resets are still a common thing. Even though it doesn't change much, I still wanted to have them in my every Story.

Method overloading in TypeScript

typescript

Some time ago, while building an API, I though that stacking `if` statements depending on function parameters leads to complex business logic. One of the solutions I found was "methods overloading", used mainly in Java (and C#).

Facade pattern in JavaScript

design-patterns, javascript

When building an application, we often face problems with external APIs. One has simple methods, other has them very complicated. Unifying them under one common interface is one of uses of the facade pattern.

Contact

Book a free 30-minute call or reach out via email for a no-obligation quote and consultation.

Write me an e-mail

I'll get back to you within 24 hours, but usually much sooner (Mon-Fri).