Is there a nice way to load WASM into kotlin-js, o...
# javascript
р
Is there a nice way to load WASM into kotlin-js, or the only way is to pass by JavaScript? Example links and any kind of advice on this will be highly appreciated. Huge thanks
b
Declare WASM browser API via kotlin external declarations and use them directly
👍 1
р
b
again, declare them as externals and pass those
👍 1
I'm assuming you;re not using Kotlin/WASM, but if you do, you can find a lot of js interop examples here
р
Thank you, this is very helpful. I am new to this, and indeed I will have a look at Kotlin/WASM as well
b
Don't use kotlin wasm. Its lvvm version is abandoned
р
Ok thank you
I am using emcc