i can't find any info online about this, but i was...
# compose-android
b
i can't find any info online about this, but i was wondering: is there any gotchas with using a local composable function defined in a composable function (since they get called a lot)?
Copy code
@Composable
 fun Component() {
    Box {
        ...
        @Composable
        fun item(...) {

        }

        item(...)
        item(...)
        item(...)
    }
 }
a
maybe something related with
recomposition
but I'm not sure, to me it just feels weird, i would prefer to have
item
as a component
b
it basically is a component, its just defined locally, which does seem weird but i'm use to defining local functions that only get used locally