Writings & Videos

Writings & Videos

Real cost of your new library

Creating application nowadays consists mostly of implementation. We are using tools. But are those tools, albeit open-sourced, really free?

  • javascript
  • work-culture

Module pattern in JavaScript

A module is a construct somewhat similar to a singleton class. It has only one instance and exposes its members, but it doesn’t have any kind of internal state.

  • javascript
  • design-patterns

High level view and logic separation in React

One of React’s greatest strengths is the ability to separate the view from the logic. I like to take it a step further and create two separated _components_, one harboring view, and one – logic.

  • javascript
  • react

Test-driven development in JavaScript

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.

  • javascript
  • testing
  • tdd

Default styles in Storybook with Styled Components

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.

  • styled-components
  • react
  • javascript
  • storybook