voyager
voyager copied to clipboard
WASM support
This PR adds the support for Kotlin WASM and update the Compose to 1.6.0-beta02
.
Testing WASM support:
./gradlew :samples:multiplatform:wasmJsBrowserDevelopmentRun
Does this need any testing? I would love to help in any way to get this implemented sooner.
Everything is working pretty well so far, State restauration, etc. Just need to fix the build and migrate the Kotlin DSL to the new structure.
Feel free to checkout to the branch and test by publishing locally and using in your project!
You might have seen it already but just fyi re. 1.8.0-RC2 of Kotlinx Coroutines....I think it should mean you won't have to include atomicfu as dependency (https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.8.0-RC2)
Thanks @joreilly , I will update the Coroutines here and see if is not required anymore. But the plugin maybe should be required for be more performant, their is a branch of Compose Multiplatform Core applying AtomicFu Gradle Plugin. I'm following the same approach to avoid boxing types when is possible.
Hey there, I would like to test it but I don't know how to publish it locally. Is there a guide for it, or any plans to release it as a alpha?
@luludevmuniz try ./gradlew -Pversion=1.0.0 publishToMavenLocal
When is it hoped to merge this and include in a release?
Probably after Compose 1.6 is released