Using Higher-Order Components in React as an Alternative to Inheritance

React emphasizes composition over inheritance, and it uses higher-order components (HoCs) as an alternative to inheritance. Read more

Similar

Creating a React Component Using TDD

It’s become mandatory to use TDD in every new piece of code we write if we want to avoid creating legacy code from the beginning. We have many tools available to create unit tests in javascript and react. In this post we will be using jest and enzyme to c... (more…)

Read more »