---
title: "Discussion on \"Components in React\" | Hashnode"
description: "Discussion on \"Components in React\". Components are UI utilities we can use to distribute our UI in our code. For now, think that components are JavaScript functions and we can pass 'props' as an argument to them.\nfunction MyFun(props){\n  //MyFun is a component\n  //props is an argument ..."
url: "https://hashnode.com/posts/components-in-react/64058ee38d2fe68c16c8e120"
---

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

Discussion

# [Components in React](https://saran-ka-gyaan.hashnode.dev/components-in-react?utm_source=hashnode&utm_medium=feed)

Components are UI utilities we can use to distribute our UI in our code. For now, think that components are JavaScript functions and we can pass 'props' as an argument to them. function MyFun(props){ //MyFun is a component //props is an argument ...

Mar 6, 2023 · 3 min read · saran-ka-gyaan.hashnode.dev  
Updated Mar 13, 2023  
Read the article

-   [#react-componets](https://hashnode.com/tag/react-componets)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)

## Written by

[Saran Sinha](https://hashnode.com/@saran1522)

@saran1522 · Uttar Pradesh, India

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

Full-stack Developer, Student

Full-stack developer based in India. Open for Dev roles.

## Responses 1

Markdown supported · ⌘↵ to post

[Sattyam Samania](https://hashnode.com/@Sattyam2810)

[Mar 6, 2023](https://hashnode.com/posts/components-in-react/64058ee38d2fe68c16c8e120/comment/6405901c85656fc842a48f0a)

Amazing 👏

[Saran Sinha](https://hashnode.com/@saran1522)

[Mar 7, 2023](https://hashnode.com/posts/components-in-react/64058ee38d2fe68c16c8e120/comment/6405901c85656fc842a48f0a#reply-640710af6c8cbdd4116b6843)

Thanks :)
