snek
snek
So right now it is not possible to re-export, for example, `libc::malloc`?
to add on to this, is it possible to handle the input that happens with textboxes and elements like that?
as a followup to my original quesiton, i was able to use react refs to interact with the textarea i spawned and attach the necessasary listeners and handlers for text...
what's the status on this?
> does it need an explicit assert { type: "wasm" } I think *need* should be no, but an implementation should feel free to add that.
if a module uses interface types, the api it wants to expose is not the core exports, so we shouldn't automatically expose them.
the wasm module can specify literally `(import "./glue.mjs" "foo")` and that goes through normal esm specifier resolution, so you can just have a glue.mjs file sitting on your server next...
presumably the glue has to provide that functionality too. for example, a very verbose rust js-sys setup might look like this: ```wasm (module (import "./glue.mjs" "createString" (adapter_func $createString (param string)...
I find the ESM integration somewhere in the territory of unusable because it isn't possible for a function called from wasm to get access to that wasm's memory (and it...
@Horcrux7 from the perspective of a wasm module, if you want to import a function that has some functionality beyond what can be done with scalar values, you would need...