Higher-order components as pancakes decorations? Why not?

In the previous post, you’ve learned how higher-order components (HoCs) work under the hood and how to define one yourself. Now, we’ll take it a little bit easier. We’ll use pancakes metaphor to help you to illustrate the principles of the higher-order component in a more engaging way. Let’s start with …

Introducing higher-order components

In the previous post, you’ve learned about the basic principles of functional programming (FP). Now, we’ll take a look at how to use these principles in React. You’ll learn how to write reusable higher-order components and you’ll understand the ideas behind this pattern as well. React applications are composed of …

Taste the principles of functional programming in React

The maintainable component structure is a crucial prerequisite for a stable React application. You can achieve this by writing your code in a functional way using higher-order components (HoCs). The idea is to separate logic from presentation in your components. If you stick to this pattern, you’ll end up with …

Is Vanilla JavaScript worth learning? Absolutely.

  The purpose of this post is to emphasize the importance of JavaScript fundamentals for every front-end developer. I’m going to tell you why you should have a good knowledge of pure (Vanilla) JavaScript. This means JavaScript without any additional frameworks or libraries. I’ll also mention a couple of resources …