Open
Description
There is no straightforward way of storing go values in a js object or property. I know this restriction is intentional, but it is a very inconvenient one at times. All workarounds I know of have severe problems (serialization overhead, global map[string]interface{} won't be garbage collected).
I suspect that there are proper workarounds for this problem using js.InternalObject, but it is unclear to me how to recover the go value from the resulting *js.Object and if I can use it with js.Object.Set/Get.
Metadata
Metadata
Assignees
Labels
No labels