https://kotlinlang.org logo
#confetti
Title
# confetti
j

John O'Reilly

03/31/2024, 11:07 AM
I was having another go at getting confetti shared code building for WasmJs target......I was going to setup some sourcesets etc to workaround some libraries not supporting it yet.....but also having issue with
com.squareup.wire:wire-runtime
plugin..... @yschimke I think this is Wear related...is there way to isolate this in that module?
y

yschimke

03/31/2024, 12:34 PM
It's shared between wear and mobile
Ideally in a common android module
Or worst case we generate twice from shared proto
j

John O'Reilly

03/31/2024, 12:51 PM
@Arkadii Ivanov https://github.com/arkivanov/Essenty is another one that it's complaining about....not sure if it makes sense or not to have this supporting Wasm? Can workaround not having it probably if needed
apollo-normalized-cache-sqlite
is another one that I think we're going to have to put in different source set
ah, latest essnty does support WasmJs....we're pulling in
com.arkivanov.essenty:lifecycle:1.3.0
right now
a

Arkadii Ivanov

03/31/2024, 12:58 PM
Yeah. The 2.x alphas already supports Wasm! As well as the 3.x alphas of Decompose. Let's wait for the upcoming beta releases by the end of the next week?
👍 1
j

John O'Reilly

03/31/2024, 12:59 PM
should that also cover
com.arkivanov.decompose:extensions-compose-jetbrains:2.2.2-compose-experimental
?
a

Arkadii Ivanov

03/31/2024, 1:02 PM
Absolutely! Though, there will be some migration - https://github.com/arkivanov/Decompose/releases/tag/3.0.0-alpha01
👍 1
We'll be also able to enable state preservation for iOS and Web!
And desktop if needed