Evolving Patterns in React

Endless possibilities of composing and reusing functionality

Let’s take a closer look at some of the patterns that are emerging in the React ecosystem. These patterns improve readability, code clarity, and push your code towards composition and reusability.

I started working with React about 3 years ago. At that time, there were no established practices from which to learn in order to leverage its capabilities.

It took about two years for the community to settle around a few ideas. We shifted from React.createClass to the ES6 class and pure functional components. We dropped mixins and we simplified our APIs.

Now as the community is larger than ever, we’re starting to see a couple of nice patterns evolving.

In order to understand these patterns, you need a basic understanding of the React concepts and its ecosystem. Please note, however, that I will not cover them in this article.

Let’s begin!