maybe I'm too used to reading html, but I'm having...
# react
m
maybe I'm too used to reading html, but I'm having difficulty keeping a mental map of:
Copy code
h3 {
                ul {
                    for ((index, item) in state.items.withIndex()) {
                        li {
                            key = index.toString()
                            +item.toString()
                            button {
                                +"×"
                                attrs {
                                    onClickFunction = {
                                        setState {
                                            items = items.filterIndexed { i, _ -> i != index }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }