Firstly, they are not components as in the correct way to write components in Korolev, they use global state. This is two examples, one is a sortable table, the other is a tree which is editable. Korolev is here https://github.com/fomkin/korolev
PhilAndrew/SortableTreeAndTable
Sortable Tree and Table in Korolev (sortable table and an editable tree)
Scala