News for hackers. Stuff that matters.
Re:We replaced our React front end with Go and WebAssembly by mckravchyk on Tuesday February 11, 2025 @07:05AM (#43011862)
> Additionally, it eliminates the need to parse HTML, as every node state is represented in a Go-based virtual DOM, with only updates being pushed directly to the actual HTML nodes.

That looks really interesting. I'm curious, are there any performance drawbacks to updating DOM via WebAssembly or is it negligible? I.e. let's say you are building an editor of some kind. If the entire app is in Go, that means sending the keydown event to the WASM module and having it update HTML back. Is it not better (from performance perspective) to just use JavaScript all the way?

There are no comments on this comment yet.