⚡ForceHiresbeta
← All questions
LWCEasy

Iterating lists in a template

What is required on the element inside a for:each loop in an LWC template?

<template for:each={contacts} for:item="contact">
    <li>{contact.Name}</li>
</template>