---
title: "Discussion on \"Props in Class-based-components\" | Hashnode"
description: "Discussion on \"Props in Class-based-components\". In React, props (short for \"properties\") are a mechanism for passing data from a parent component to a child component. When you define a class-based component in React, you can specify one or more props that the component should accept as input.\nPro..."
url: "https://hashnode.com/posts/props-in-class-based-components/642346482737e8b318917572"
---

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

Discussion

# [Props in Class-based-components](https://disha.hashnode.dev/props-in-class-based-components?utm_source=hashnode&utm_medium=feed)

In React, props (short for "properties") are a mechanism for passing data from a parent component to a child component. When you define a class-based component in React, you can specify one or more props that the component should accept as input. Pro...

Mar 28, 2023 · 3 min read · disha.hashnode.dev  
Read the article

-   [#props](https://hashnode.com/tag/props)
-   [#props-in-reactjs](https://hashnode.com/tag/props-in-reactjs)
-   [#passing-props-in-react](https://hashnode.com/tag/passing-props-in-react)
-   [#props-in-class-based-components](https://hashnode.com/tag/props-in-class-based-components)

## Written by

[Disha Jain](https://hashnode.com/@disha390)

@disha390

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

Frontend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
