---
title: "Discussion on \"So, what is the key prop?\" | Hashnode"
description: "Discussion on \"So, what is the key prop?\". It would be fair to assume that almost every developer has had a console warning of not providing a key prop when a list was rendered in a React application. To fix this, you pass the key prop and sometimes use the index as the value. But why do you ..."
url: "https://hashnode.com/posts/so-what-is-the-key-prop/652aada70de2838cbf34ebfa"
---

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

Discussion

# [So, what is the key prop?](https://queenislamiat.hashnode.dev/so-what-is-the-key-prop?utm_source=hashnode&utm_medium=feed)

It would be fair to assume that almost every developer has had a console warning of not providing a key prop when a list was rendered in a React application. To fix this, you pass the key prop and sometimes use the index as the value. But why do you ...

Oct 14, 2023 · 6 min read · queenislamiat.hashnode.dev  
Updated Oct 17, 2023  
Read the article

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

## Written by

[Fawale Queen](https://hashnode.com/@QueenIslamiat)

@QueenIslamiat

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

Front-end Web development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
