When using compose web, with the wasm Canvas, are ...
# compose-web
k
When using compose web, with the wasm Canvas, are there any API's for performing navigation that are compatible with the kotlin-wasm runtime and the compose-wasm compiler version? Tried using the routing-compose and voyager but it seems they are not compatible with the compose-wasm compiler. Would really appreciate some help with this.
a
Are you using skia-wasm? or even your compose runtime is in wasm?
k
I am using compose web, the latest version that runs on the kotlin-wasm compiler using the compose-wasm plugin. Don't know much about skia, still fairly new to compose multiplatform
o
Sounds like a full wasm project. It will probably take a while for many multiplatform libraries to support a K/wasm target. It’s always a good idea to add an issue requesting wasm support in projects that don’t have it yet. Or even help out with a contribution. Until then, you could use K/Js with Compose Web. This will at least use the Skiko graphics library in wasm, while the Compose runtime and app will be Js.
k
Thanks oliver, it would seem the compose-web-wasm canvas is still not at that point, will be switching to using the js compiler with compose