---
title: "Discussion on \"Higher Order Components (HOCs) in React: A Quick Guide\" | Hashnode"
description: "Discussion on \"Higher Order Components (HOCs) in React: A Quick Guide\". What is an HOC?\nA Higher Order Component is a function that takes a component and returns a new enhanced component. Think of it as a wrapper that adds extra features to your existing components.\nconst withSomething = (Component) => {\n  return (props)..."
url: "https://hashnode.com/posts/higher-order-components-hocs-in-react-a-quick-guide/68cdcd8f3d381123db75bdfd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Higher Order Components (HOCs) in React: A Quick Guide](https://marufrayhan.hashnode.dev/higher-order-components-hocs-in-react-a-quick-guide?utm_source=hashnode&utm_medium=feed)

What is an HOC? A Higher Order Component is a function that takes a component and returns a new enhanced component. Think of it as a wrapper that adds extra features to your existing components. const withSomething = (Component) => { return (props)...

Sep 19, 2025 · 3 min read · marufrayhan.hashnode.dev  
Read the article

-   [#higher-order-components](https://hashnode.com/tag/higher-order-components)

## Written by

[Md Maruf Rayhan](https://hashnode.com/@marufrayhan)

@marufrayhan · Finland

  
[View profile](https://hashnode.com/@marufrayhan)

Developer, Learner And Thinker

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
