25Dec

Setting CSS Styles with JavaScript

It is common to set styles in Javascript. Four years of working with HTML, CSS and Javascript there were plenty of times I had to style elements with Javascript. Here are some uses-cases and ways to style elements in Javascript. I will also be describing one common use case at the end of this article.

23Dec

Destructuring in JavaScript

Destructuring is a handy tool to make use of as you write your code, it helps reduce the complexity of your code, making it more readable and human-friendly.

19Dec

React Lesson 4: Homework. Decorators and Mixins

As we saw in the previous article, decorators are just the Higher-Order components that add extra functionality to the passed component and return a new enhanced component. Before we get to our homework, let’s dive deep and understand how decorators and mixins work.