---
title: "Discussion on \"Building highly reusable React.js components using compound pattern\" | Hashnode"
description: "Discussion on \"Building highly reusable React.js components using compound pattern\". Today I bring you a way to create a highly reusable React component using an advance pattern called Compound.\nCompound Components pattern\nThe keyword in the pattern’s name is the word Compound,  the word compound refers to something that is composed ..."
url: "https://hashnode.com/posts/building-highly-reusable-reactjs-components-using-compound-pattern/5fe2abade28a2b6bca52c108"
---

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

Discussion

# [Building highly reusable React.js components using compound pattern](https://blog.jrgarciadev.com/building-highly-reusable-reactjs-components-using-compound-pattern?utm_source=hashnode&utm_medium=feed)

Today I bring you a way to create a highly reusable React component using an advance pattern called Compound. Compound Components pattern The keyword in the pattern’s name is the word Compound, the word compound refers to something that is composed ...

Dec 23, 2020 · 17 min read · blog.jrgarciadev.com  
Read the article

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

## Written by

[Junior Garcia](https://hashnode.com/@jrgarciadev)

@jrgarciadev · Buenos Aires. AR

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

Full Stack Software Developer

Full-Stack developer currently focused on React/Next.js and React Native. Vim enthusiast

## Responses 1

Markdown supported · ⌘↵ to post

[Shad Mirza](https://hashnode.com/@iamshadmirza)

[Dec 23, 2020](https://hashnode.com/posts/building-highly-reusable-reactjs-components-using-compound-pattern/5fe2abade28a2b6bca52c108/comment/5fe3028bb4b79006ffdabf6a)

Very detailed. I have built RadioButtons using this pattern. Works like a charm.

[Junior Garcia](https://hashnode.com/@jrgarciadev)

[Dec 23, 2020](https://hashnode.com/posts/building-highly-reusable-reactjs-components-using-compound-pattern/5fe2abade28a2b6bca52c108/comment/5fe3028bb4b79006ffdabf6a#reply-5fe33b201e6a660a92506013)

Yes, it's super useful to link various parts of a component. Works like a charm! 🚀
