arkivanov / Essenty

The most essential libraries for Kotlin Multiplatform development
Apache License 2.0
468 stars 15 forks source link

Consider moving `decompose.extensions.compose.jetbrains.lifecycle.LifecycleController` to Essenty #160

Closed Nek-12 closed 4 months ago

Nek-12 commented 4 months ago

For desktop apps that don't need to use Decompose, but want to use Essenty for lifecycle handling, having LifecycleController in the Decompose introduces unnecessary overhead of depending on the whole library just for the lifecycle functionality. Consider moving functionality that allows to provide Essenty lifecycle for desktop, compose and other platforms to a separate module in Essenty instead of Decompose.

arkivanov commented 4 months ago

Thanks for the idea. Similarly to #158 this would require creating a separate module just for this API. For now I would like to avoid one-API modules, considering the simplicity of the API. I will keep this in mind as well.