Any recommended way of using Koin with JB Compose ...
# koin
a
Any recommended way of using Koin with JB Compose in the project with shared UI in shared? Right now, i use my own Injector interface with Impl as KoinComponent, but I wonder if there is an existing Koin solution in place.
p
i know this was 5 days ago but Koin has Koin Annotations were there is similar approach
is that what you are looking for ?
a
In compose you can use the injection of parameters, inside Compose functions
I don’t understand well your question here 🤔
a
I simplify it. 🙂 Can we use Koin Compose with Jetbrains compose in commonMain, not in androidMain? @arnaud.giuliani
a
For now, the
koin-androidx-compose
is really tied to Android. But I’m just finishing to work on new
koin-compose
module those days.
This project https://github.com/burnoo/cokoin is bringing compose JB with Koin
if you want to try right now,. after that you will see my next publish about
koin-compose
a
any estimates for your release?
a
current February
hope mid February
a
Thank you, @arnaud.giuliani I'll have a look at the Cokoin. Thanks again for your great work!
a
yeah for now, you can begin to play with cokoin 👍