---
title: "Discussion on \"Composition over inheritance in React\" | Hashnode"
description: "Discussion on \"Composition over inheritance in React\". Reusing component by having a Wrapper class in React"
url: "https://hashnode.com/posts/composition-over-inheritance-in-react/620e648525673f2740eec452"
---

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

Discussion

# [Composition over inheritance in React](https://yipcode.hashnode.dev/composition-over-inheritance-in-react?utm_source=hashnode&utm_medium=feed)

Reusing component by having a Wrapper class in React

Feb 17, 2022 · 2 min read · yipcode.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[kyip](https://hashnode.com/@yipcode)

@yipcode

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

programmer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
