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: <.div(
NoArgs(),
Hello("John"),
Hello("Jane"))If you're into JSX, then probably Bindings.scala is a better fit for you:
https://github.com/ThoughtWorksInc/Binding.scala#step-3-crea...
Looks awesome, thank you!
Do you know how that compares with ...
https://slinky.dev