Let’s imagine the scenario:
In order to successfully introduce anti-patterns to the codebase, developer has to bypass several guards, i.e. code review.
The article is sarcastic. It is meant to show us the importance of quality code review.
In this article I will show some patterns how to write a legitimate looking code that…
I think every React developer sooner or later gets the following warning in his console: Each child in a list should have a unique “key” prop.
In this article I will use real life example why it’s important not to ignore that warning.
We will learn about one anti-pattern and…
Pure Functions is one of these terms that yet again sound very elitist and difficult to understand. In fact it’s rather simple concept.
The pure function is very commonly used by lot’s of major players i.e. Redux, React, Angular and so on. We can also extract expensive pure function to…
Things become much easier to understand once we check what the
newis doing behind the scenes.
In this article I will go through simple examples and show you…
The Immediately Invoked Function Expression term sounds very elitist and advanced but truth is it’s very simple.
I’ve prepared some examples for you as well as common traps you might encounter during the job interview.
The IIFE is a way to execute functions immediately, as soon as they are created…
Closures are special thing in the JS world. It’s time to finally understand them.
Many agree that closures are confusing at the beginning, but once you put some time into understanding them you will find them perhaps even intuitive.
There are lot’s of benefits coming from understanding them i.e.:
Every frontend developer at some point of his career has stumbled into
It turns out that in fact
Higher Order Components in React are considered an advanced React topic.
I will try to simplify it and show one real life example that we will hopefully use (or base on it) in real life.
Let’s consider our day to day task which is to fetch data from somewhere and…