Anybody using `koin.androidx.compose` for viewmode...
# compose
t
Anybody using
koin.androidx.compose
for viewmodel injection into their composables? There is a solution for compile errors for compose alpha 12 here (https://github.com/InsertKoinIO/koin/issues/1006), but wondering if others have seen the same runtime errors and if there are workarounds
i
There were a lot of breaking API changes in alpha12 (it is alpha, so not unexpected). You'll probably need to wait until there's a snapshot/release built against alpha12
t
For sure, thanks Ian. I might actually explore Hilt with this project. Given you're "on the inside", do you know if that library keeps up a better pace with alpha releases than any third-party DI like Koin?
i
Generally, any Google library that has a direct dependency on Compose get released the same day that Compose version comes out
That being said, once Compose goes beta and gains API stability, a lot of these incompatibility issues go away, so some of what you're experiencing is a shorter term issue and shouldn't necessarily affect what libraries you use
💯 3