When To Use Jest Snapshots
Snapshots are great tool when used for the correct job. However, they are frequently misused. In this article, I will show you the best use-cases of Snapshots.
Quite often there are situations when part of the application appears multiple times, most of the usages are the same but they require different logic here and there. In this article, I would like to present the problem I have encountered along my programming way, its solution and the refactoring results.
When creating a webpage you will most definitely reach the point where you will need to present some information for the user. It is important to arrange the data in a clear way, for example, by using interactive charts on your website.
In the examples, the testing stack is Jest and Enzyme, but this pattern can be used in any other combination of test runner and renderer. I would like to show you the simple pattern that we are using in Selleo, and how it came to life.
With the beginning of new year, questions like ‘is the (insert the right technology here) still good in 2019, should I learn (said technology) in 2019’ etc. arise once again. This article will focus on React, since many people are concerned whether Angular and Vue.js are not overshadowing the Facebook framework.
Pair programming is one of the best ways to learn programming, as collaborators can easily share their experiences and knowledge. This holds true when working with someone on similar or higher skill level, but can one really benefit from pairing with a novice developer?