Would highly recommend pairing this with Slinky (React for Scala.js). https://slinky.dev
I'm disappointed that the (formerly?) built-in Scala XML handling could not be used for JSX vs these: Slinky: div( h3("TODO"), TodoList(items = state.items), form(onSubmit := (handleSubmit(_)))( input( onChange := (handleChange(_)), value := state.text ), button(s"Add #${state.items.size + 1}") ) ) scalajs-react:
https://github.com/ThoughtWorksInc/Binding.scala#step-3-crea...