https://kotlinlang.org logo
#decompose
Title
# decompose
v

Vaibhav Jaiswal

03/22/2024, 4:10 PM
@Arkadii Ivanov any plans on migrating decompose to use AndroidX Lifecycle, as its now KMP supported? Also some simpler way of creating navigation. Currently it needs quite a lot of code to create Stack, Pages etc Navigation
a

Arkadii Ivanov

03/22/2024, 4:12 PM
Sure, see https://github.com/arkivanov/Essenty/issues/157 Waiting for it to be officially announced.
v

Vaibhav Jaiswal

03/23/2024, 3:32 PM
Thats nice Any plans on simplifying the code needed for setting up navigation? It needs quite a lot of code to set up one now And grows quite a lot as no.of screens increase
a

Arkadii Ivanov

03/23/2024, 3:35 PM
There were no particular plans. There is some boilerplate for two primary reasons: 1. Decompose doesn't depend on any UI framework. 2. Navigation is a pure function from the old state to a new one. Though, I'm open to suggestions.
👍 1