You also write "However, `you` can introduce a key...
# compose
u
You also write "However,
you
can introduce a key". and Give examples of Key() and @Pivotal. Does that mean, that the example from the post is simplified and does not trigger the group optimisation power?
Copy code
@Composable fun TodoItem(item: TodoItem) {
  Stack(Orientation.Horizontal) {
    Text(if (item.completed) "x" else " ")
    Text(item.title)
  }
}

@Composable fun TodoApp(items: List<TodoItem>) {
  Stack(Orientation.Vertical) {
    for (item in items) {
      TodoItem(item)
    }
  }
  Text("Total: ${items.size} items")
}