Skip to content

Back to React Recipes

Higher-Order Components

Introduction

Higher-Order Components (HOCs) is a technique for reusing component logic across the app.

A HOC is a function that takes a