---
title: "Discussion on \"Component in ReactJS\" | Hashnode"
description: "Discussion on \"Component in ReactJS\". What is a component?\n\nA piece of code that can be reused. such as function but more powerful than function. Example: Header, Footer, Navbar etc."
url: "https://hashnode.com/posts/component-in-reactjs/64f051ead2408db6703aad0b"
---

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

Discussion

# [Component in ReactJS](https://codewithjaya.hashnode.dev/component-in-reactjs?utm_source=hashnode&utm_medium=feed)

What is a component? A piece of code that can be reused. such as function but more powerful than function. Example: Header, Footer, Navbar etc.

Aug 31, 2023 · 2 min read · codewithjaya.hashnode.dev  
Read the article

-   [#components](https://hashnode.com/tag/components)
-   [#class-components](https://hashnode.com/tag/class-components)
-   [#functional-components](https://hashnode.com/tag/functional-components)
-   [#different-types-of-components](https://hashnode.com/tag/different-types-of-components)

## Written by

[Jaya Paliwal](https://hashnode.com/@JayaPaliwal)

@JayaPaliwal · Nagpur, Maharashtra, India

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

I described myself as a passionate developer who loves coding.

I described myself as a passionate Developer who loves coding, open source, &amp; the web platform. I use HTML, CSS, JS, React for coding the websites.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
