Hello, I started recently a compose multiplatform ...
# compose-web
i
Hello, I started recently a compose multiplatform app with all platforms enabled. Currently integrating a database. Went with sqldelight, since it supports almost all platforms. There's just the problem with web, since it doesn't support wasm, but kotlin-js. As far as I'm understanding, kotlin-js doesn't work with compose, just kotlin-multiplatform, right? so I'd have to maintain a dedicated web UI to use sqldelight? And if yes, what other interesting solutions could there be, was thinking about simply injecting a different database / storage manager for web (so I can keep using compose for it)
c
i
Ah, that's great! (the docs need to be updated) https://sqldelight.github.io/sqldelight/2.1.0/
o
And also, if things haven't changed recently, Compose does work on Kotlin/JS: https://kotlinlang.slack.com/archives/CDFP59223/p1711475155817799?thread_ts=1711468799.065149&cid=CDFP59223
💯 1