-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
I know this is going to be controversial & I'm a fan of single config, but in 2025 UI's are made with Kotlin as well (Jetpack Compose), and trailing lambda is very common,
however in UIs nesting means..nesting. It has a semantic meaning (parent-child relationship). It's not just a stylistic choice.
App { SelectableCard { Button { Text("") }}}
Is obviously not conveying that & makes it harder to reason about, versus
App {
SelectableCard {
Button {
Text("")
}
}
}
which is natural way of reasoning about UIs
hick209, angelix, ursusursus, horatiu-udrea, gasparaitis and 9 moreerawhctim
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed