Dan Abramov - The Melting Pot of JavaScript notes

Dan Abramov - The Melting Pot of JavaScript notes

Another great talk by the legend himself, Dan Abramov. This time he talks about why the JavaScript ecosystem is the way it is and what can be done abot it. Dan argues that the main problem with current ecosystem is…

CSS modules and SCSS with create-react-app

CSS modules and SCSS with create-react-app

In this post I will describe how to set up CSS modules and SCSS for applications created with create-react-app. When I did it for the first time I found the process quite cumbersome and not well documented so I hope…

Higher-Order Components (HOC) React Pattern

Higher-Order Components (HOC) React Pattern

Today I decided to get more familiar with Higher-Order Components (HOC) commonly used in libraries such as Redux (connect), react-i18next (translate) or react-router (withRouter). I have often used them as part of aforementioned libraries but never got the full grasp…

ES6: Generators

ES6: Generators

A generator is a function that can be entered and exited multiple times. Its context gets saved across re-entrances allowing to control the iterator and hence create iterations through custom objects. This is unlikely to make much sense at this…