Hello, I almost reached the part where I am going to replace my viewmodels with the new components. I am using koin for DI. I have use cases. Can I just inject my usecase without using koin?
a
Arkadii Ivanov
06/29/2023, 6:39 PM
Well, one of the options is to just pass dependencies via constructor.
f
Farid Benhaimoud
06/29/2023, 6:46 PM
I understand. Do I have to extend KoinComponent() like in the confetti app. Or does decompose have a buildin di that doesnt force me to use koincomponent()
a
Arkadii Ivanov
06/29/2023, 6:49 PM
Ah, there is no built-in DI. Components are normal classes, so you are free to use any DI framework you like.