---
title: "Discussion on \"PROPS - understanding the concept\" | Hashnode"
description: "Discussion on \"PROPS - understanding the concept\". What is Props\nFor ease of understanding of props, let's try to refresh what we know about function parameters and arguments. Parameters are the listed variables within the brackets () during the function definition\nfunction Example (param1, param2){\n..."
url: "https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf"
---

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

Discussion

# [PROPS - understanding the concept](https://audrey01.hashnode.dev/props-understanding-the-concept-1?utm_source=hashnode&utm_medium=feed)

What is Props For ease of understanding of props, let's try to refresh what we know about function parameters and arguments. Parameters are the listed variables within the brackets () during the function definition function Example (param1, param2){ ...

Jun 19, 2022 · 6 min read · audrey01.hashnode.dev  
Updated Oct 11, 2023  
Read the article

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

## Written by

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

@Audrey01 · Nigeria

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

Learning to love writing☺️☺️

"Cloud security Engineer ☁️ | Writing about security &amp; cloud topics ✍️ | Let's connect and dive into the exciting world of security and the cloud! ✨"

## Responses 5

Markdown supported · ⌘↵ to post

[Johnson awah Alfred](https://hashnode.com/@codemon)

[Jul 29, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e3bbbf8bd3b1cb72709973)

Interesting, nice read! Got a question though, what’s the purpose of the key property on a component, you didn’t explain that but I see you used it.

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jul 29, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e3bbbf8bd3b1cb72709973#reply-62e3c0fa0f5734cc756fb6f4)

Thank you for the feedback and yes that's an area to improve on But the key property serves as a unique identity for each mapped item.

[Johnson awah Alfred](https://hashnode.com/@codemon)

[Jul 29, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e3bbbf8bd3b1cb72709973#reply-62e3c1d24c379fcc9acedb1b)

Is it safe to use the objects index in the array when no id property is available ?[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Aug 21, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e3bbbf8bd3b1cb72709973#reply-63024f53dc09f71f101c7b5c)

in my opinion no because the object index is prone to changing whenever we perform an operation on the object(like removing ,re-arranging)which makes it "not unique" with the rendered child. if no id is specified,you could use another property that remains constant regardless of changes made.

[Jennifer Muofunanya](https://hashnode.com/@jennifer-chi)

[Jul 28, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e2fd9dd7b405bea1559094)

Nice write-up and so easy to understand👏👏

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jul 29, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62e2fd9dd7b405bea1559094#reply-62e34965d7b405bea15597e4)

Thank you Jennifer ☺️, glad you found it useful

[Chidera Anichebe](https://hashnode.com/@starlingroot)

[Jun 21, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1fe510572b078ae516d62)

Thanks for the refresher

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jun 23, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1fe510572b078ae516d62#reply-62b47a40b86f939ac81b0592)

Thank you Dera☺️

[Samson Amaugo](https://hashnode.com/@swacblooms)

[Jun 21, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1fa8b0572b078ae516cb9)

Nice read 👌

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jun 23, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1fa8b0572b078ae516cb9#reply-62b47a33b86f939ac81b058e)

Thanks Sam☺️

[Kizito Nwaka](https://hashnode.com/@codevocate)

[Jun 21, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1a57494003a788976d9a7)

Awesome and super easy to understand 🙌

[Akaeze Kosisochukwu](https://hashnode.com/@Audrey01)

[Jun 21, 2022](https://hashnode.com/posts/props-understanding-the-concept-1/62af80330924134a8048a8bf/comment/62b1a57494003a788976d9a7#reply-62b1b41194003a788976dc17)

Thank you so much Kizito ☺️☺️, hoping to get better with more practice
