---
title: "Discussion on \"React lists and the key prop warning\" | Hashnode"
description: "Discussion on \"React lists and the key prop warning\". Why does react need a key prop while rendering a list of JSX elements?"
url: "https://hashnode.com/posts/react-lists-and-the-key-prop-warning/62da4ae3e3738c59b0b7a753"
---

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

Discussion

# [React lists and the key prop warning](https://kaustubh-p.hashnode.dev/react-lists-and-the-key-prop-warning?utm_source=hashnode&utm_medium=feed)

Why does react need a key prop while rendering a list of JSX elements?

Jul 15, 2022 · 5 min read · kaustubh-p.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-js](https://hashnode.com/tag/react-js)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Kaustubh P](https://hashnode.com/@kaustubh-p)

@kaustubh-p

  
[View profile](https://hashnode.com/@kaustubh-p)

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
