Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

What is the purpose of providing a unique key prop when rendering a list of components in React?

Click the option that best answers the question.

  • To uniquely identify each component in the list
  • To improve performance when updating and re-ordering the list
  • To provide additional data to each component
  • To style each component differently