PreCompose
PreCompose copied to clipboard
Wasm support
It'd be great to heave a wasm support. May be in a different experimental branch
Seems like compose for wasm support is in different maven repo (https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental) and have different version, it's better to have a different branch to do it.
https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webassembly-goes-alpha/
please support wasm
Since compose-multiplatform 1.6.0-alpha01 comes with wasm support, I'll add this support as an alpha version.
Koin does not support wasm target yet (see https://github.com/InsertKoinIO/koin/issues/1634), I'd like to wait for it.
Koin does not support wasm target yet (see InsertKoinIO/koin#1634), I'd like to wait for it.
Hi
koin 3.6.0-wasm-alpha1 is out.
Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.
Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.
@Tlaster they have the koin-compose artifact listed on their documentation site as part of the 3.6.0-wasm-alpha1 and it is listed on Maven Central too.
However when I browse their code on the 3.6.0-wasm-alpha1 tag I also don't see wasmJs listed.
How is this possible did they make a mistake somewhere and is the wasm artifact in Maven Central non-functional? Or is there some Gradle magic that we're missing?
I'm not really a Koin user, but I'm having a look to see what's going on here.
Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.
@Tlaster they have the
koin-composeartifact listed on their documentation site as part of the3.6.0-wasm-alpha1and it is listed on Maven Central too.However when I browse their code on the
3.6.0-wasm-alpha1tag I also don't seewasmJslisted. How is this possible did they make a mistake somewhere and is the wasm artifact in Maven Central non-functional? Or is there some Gradle magic that we're missing?I'm not really a Koin user, but I'm having a look to see what's going on here.
Not sure what's happening, if using io.insert-koin:koin-compose:3.6.0-wasm-alpha1 with wasmJs target, it will throw an exception in gradle: No matching variant of io.insert-koin:koin-compose:3.6.0-wasm-alpha1 was found.
Hi @Tlaster!
3.6.0-wasm-alpha2 has been tagged and looks like they fixed the issue of the missing wasmJs declaration in the koin-compose module's build.gradle.kts
This seems to be available in Maven Cental already https://repo1.maven.org/maven2/io/insert-koin/koin-compose/3.6.0-wasm-alpha2/
Well there's a new release 1.6.0-beta01 that you can try with wasm.
Hi,
I don't know if it's realistic or doable, but can the Navigator can be control also by the url in the browser? I want to be able to enter http://www.mydomain/some_page and be directed to the right page.