It seems in the end the issue was actually a deadlock in the event loop. I
fixed it by spawning go routines on all the functions interacting with the
dom.
---
>
> I'm trying to build a web/client app using Go (compiled to wasm). The
> issue is that the browser(both
Possible duplicate of https://github.com/golang/go/issues/35111 (garbage
collection of js.Value references)
which was recently fixed.
Please try with gotip (https://godoc.org/golang.org/dl/gotip) or build from
source. Note that the fix for #35111
made js.Value equality tests a compile time