Answers for "why do you have to set key prop in react"

1

why do you have to set key prop in react

Because in that way React knows specificaly which element you want to re-render
or manipulate. With no keys, that it's impossible
Posted by: Guest on September-19-2021

Code answers related to "why do you have to set key prop in react"

Browse Popular Code Answers by Language