---
title: "Discussion on \"Building Compound Components using React Context API and TypeScript\" | Hashnode"
description: "Discussion on \"Building Compound Components using React Context API and TypeScript\". When creating a React project, you might need to share some state between components of your application. React Context API offers a mechanism for passing data through the component tree without relying on props (also known as props drilling). \nI hav..."
url: "https://hashnode.com/posts/building-compound-components-using-react-context-api-and-typescript/605e47115aa4944ee40f793f"
---

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

Discussion

# [Building Compound Components using React Context API and TypeScript](https://blog.cristiana.tech/building-compound-components-using-react-context-api-and-typescript?utm_source=hashnode&utm_medium=feed)

When creating a React project, you might need to share some state between components of your application. React Context API offers a mechanism for passing data through the component tree without relying on props (also known as props drilling). I hav...

Mar 26, 2021 · 5 min read · blog.cristiana.tech  
Updated Dec 4, 2021  
Read the article

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

## Written by

[Cristiana Man](https://hashnode.com/@cristiana)

@cristiana · Copenhagen, Denmark

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
