---
title: "Discussion on \"React Component\" | Hashnode"
description: "Discussion on \"React Component\". what is react component?\n\ncomponent are independent and reusable pieces of code.\n\nComponents come in two types, Class components and Function components, in this article we will concentrate on Function components.\nFunction Component\n\ncomponents are l..."
url: "https://hashnode.com/posts/react-component/6400282c026265ade3aefb49"
---

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

Discussion

# [React Component](https://megha17.hashnode.dev/react-component?utm_source=hashnode&utm_medium=feed)

what is react component? component are independent and reusable pieces of code. Components come in two types, Class components and Function components, in this article we will concentrate on Function components. Function Component components are l...

Mar 2, 2023 · 2 min read · megha17.hashnode.dev  
Read the article

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

## Written by

[Megha Khatri](https://hashnode.com/@megha17)

@megha17

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

## Responses 1

Markdown supported · ⌘↵ to post

[Gaurav Patil](https://hashnode.com/@GauravPatil)

[Mar 2, 2023](https://hashnode.com/posts/react-component/6400282c026265ade3aefb49/comment/64002d1c4afe53670a9e1a24)

I like your explanation. good keep continuing this react series

[Megha Khatri](https://hashnode.com/@megha17)

[Mar 3, 2023](https://hashnode.com/posts/react-component/6400282c026265ade3aefb49/comment/64002d1c4afe53670a9e1a24#reply-640205856cc7b7a220949467)

sure Gaurav
