API
@key
Preserves element or component identity within a sibling scope.
Formal Syntax & Structure
csharp syntaxcsharp
<div @key="book.Id">...</div>Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.<div @key="book.Id">...</div>