That glue code is a massive cognitive burden on a programmer. It's not a big deal when you already know it.
But when you don't, a thin, glue layer of code following different paradigms than the other 90% of your project will crush your development agility anytime you have to touch that glue layer.
Just imagine how awesome would it be to use the full power of Python to build a react like library.
It is a source of great disappointment to me that WASM cannot directly control the DOM.