---
title: "Discussion on \"Make React prop depends to other props\" | Hashnode"
description: "Discussion on \"Make React prop depends to other props\". I'll share here a trick I used recently to make the existence of a prop (react) value depend\non another using TypeScript."
url: "https://hashnode.com/posts/make-react-prop-depends-to-other-props/63826a2d50847f0c09d78d63"
---

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

Discussion

# [Make React prop depends to other props](https://tawaliou.com/make-react-prop-depends-to-other-props?utm_source=hashnode&utm_medium=feed)

I'll share here a trick I used recently to make the existence of a prop (react) value depend on another using TypeScript.

Nov 26, 2022 · 4 min read · tawaliou.com  
Updated Dec 3, 2022  
Read the article

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

## Written by

[Tawaliou ALAO](https://hashnode.com/@Tawaliou)

@Tawaliou · Abomey-Calavi/Bénin

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

Software Developer

Software Developer | Love Low Level Eng. | Python, Javascript, C, Linux I'm learning backend development and system programming.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
