Samuel
11/26/2024, 4:54 PMgoto("/foo")
;
• @Decompose("/") Composable() fun App() {
;
• `@Decompose("items/{id}")`` (this last one with the /
left off to enable different mount points).
(maybe you can override the history so back doesn't go to the other item you clicked on but goes back a screen; but zero config it just acts like the web browser)
I understand the critique about strong typing. But you can probably solve that through an un
sealed
enum
and it would still be super readable.
Appreciate your insights. ThanksArkadii Ivanov
11/26/2024, 8:51 PMSamuel
11/26/2024, 9:08 PMViewModel
.
Maybe you're right, and I should switch from Decompose.Arkadii Ivanov
11/26/2024, 9:45 PM