---
title: "Discussion on \"Day 07: Higher Order Components (HOCs)\" | Hashnode"
description: "Discussion on \"Day 07: Higher Order Components (HOCs)\". #100DaysOfCode\nDay 07: Higher Order Components (HOCs)\nLearned about the HOCs in react, which is a function that takes a component and returns a new component. Due to react hooks, HOCs are not used commonly for reusing logic.  \nHOCs stem from the conc..."
url: "https://hashnode.com/posts/day-07-higher-order-components-hocs/64cbc0f96e24d7b2787dbdee"
---

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

Discussion

# [Day 07: Higher Order Components (HOCs)](https://moazamdev.hashnode.dev/day-07-higher-order-components-hocs?utm_source=hashnode&utm_medium=feed)

#100DaysOfCode Day 07: Higher Order Components (HOCs) Learned about the HOCs in react, which is a function that takes a component and returns a new component. Due to react hooks, HOCs are not used commonly for reusing logic. HOCs stem from the conc...

Aug 3, 2023 · 1 min read · moazamdev.hashnode.dev  
Read the article

-   [#frontenddev](https://hashnode.com/tag/frontenddev)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#learn-react](https://hashnode.com/tag/learn-react)

## Written by

[Moazam Ali](https://hashnode.com/@moazamdev)

@moazamdev · Karachi, Pakistan

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

Frontend Developer • Creative Web Developer • Opensource Dev

Frontend Developer who is always passionate in discovering new stuff and building networks.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
