Question · Next.js course · Module 1: Next.js Configuration

Advanced: The key Attribute in React

The 'key' attribute in React is needed when:

Answer options

  • Importing modules
  • Exporting components
  • Rendering lists of elements
  • Defining CSS
Show the answer

Correct answer:

  • Rendering lists of elements