Is it ok to have nested composables like this ?: ...
# compose
k
Is it ok to have nested composables like this ?:
Copy code
@Composable
fun First(modifier: Modifier = Modifier) {
    @Composable
    fun Second(modifier: Modifier = Modifier) {
        //...
    }
    Second()
}
I know this is ok with normal function, but with composable, could it introduce some performance issues? With normal functions, an anonymous object with an invoke method is created for those local functions, as far as i know. Does the same happen with composables?