© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Favourite Jome
Software Engineer @bug0
I don't think I have ever then taken advantage of the "Key" prop with the example you gave Emmanuel O. Eboh.
Just out of curiosity, if the key props weren't used what would have happened?
Emmanuel O. Eboh
Software development and Technical Writing
The state would have been preserved. Feel free to check the React docs for more examples on how you can utilize the key prop.
Alright, make sense Emmanuel O. Eboh