---
title: "Comment by Favourite Jome on \"Decoding React: Navigating the Intricacies of State Preservation and Resetting\" | Hashnode"
description: "I don&#39;t think I have ever then taken advantage of the &quot;Key&quot; prop with the example you gave Emmanuel O. Eboh . Just out of curiosity, if the key pr"
url: "https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952/comment/65988d39236889da2dade14c"
---

[Discussion](https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952)

Comment [Decoding React: Navigating the Intricacies of State Preservation and Resetting](https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952)

[Favourite Jome](https://hashnode.com/@Favourite)

[Jan 5, 2024](https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952/comment/65988d39236889da2dade14c)

I don't think I have ever then taken advantage of the "Key" prop with the example you gave [Emmanuel O. Eboh](https://hashnode.com/@EOEboh).

Just out of curiosity, if the key props weren't used what would have happened?

[Emmanuel O. Eboh](https://hashnode.com/@EOEboh)

[Jan 7, 2024](https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952/comment/65988d39236889da2dade14c#reply-659a8aa40fe390a9f922b83d)

The state would have been preserved. Feel free to check the React docs for more examples on how you can utilize the key prop.

[Favourite Jome](https://hashnode.com/@Favourite)

[Jan 7, 2024](https://hashnode.com/posts/decoding-react-navigating-the-intricacies-of-state-preservation-and-resetting/6596fc403934c57833617952/comment/65988d39236889da2dade14c#reply-659afbf45a246ab4fe961714)

Alright, make sense [Emmanuel O. Eboh](https://hashnode.com/@EOEboh)
