blogpost cover image

Test ajax calls in react component lifecycle

While developing React application you will most likely need to fetch some data from API. If you're using class components a common place to do this is componentDidMount lifecycle method. But then you might be wondering how to properly write unit tests for it? In this blog post I will show basic examples how to write tests for HTTP calls inside class methods.
blogpost cover image

Pair programming with Docker, SSH and TMUX

Pair programming with Docker, SSH and TMUX aka. distributed pair programming Pair programming is a well known practice in agile development. The principles here are simple: sit next to your colleague, let them write the code (the driver) while you will be planing/reviewing/instructing (the navigator). This practice separates the thinking processes of implementation and strategy from each other. It helps to focus on one particular aspect at the moment. Programmers all over the world are pairing to gain experience, increase productivity, solve complex problems, debug, refactor, etc.
blogpost cover image

The anti-guide. Eight ways to drown your own startup (part 1)

You’re starting to develop your app: you’ve got an idea, you have thought through the business model, you are doing pretty well. And now the moment comes: the choice of technology. It seems like a really simple matter, but it can also wreak havoc on your business. So how to drown your startup? Just read this anti-guide.