Supporting the key-prop

This commit is contained in:
2019-11-09 00:50:32 +01:00
parent 51f894c616
commit 5704b72542
4 changed files with 49 additions and 21 deletions

View File

@@ -25,6 +25,7 @@ export class MyTodo extends CustomElement{
>
{this.todos.map(item =>
<todo-item
key={item.id}
model={ item.id }
checked={ item.checked }
>