Adding lists of Composables?

Issue I have found that val list: List<@Composable ()-> Unit> = listOf({Text("Cat")}, {Text("Dog")}) works, but val list: List<@Composable ()-> Unit> = listOf({Text("Cat")}) + listOf({Text("Dog")}) produces the error "@Composable invocations can only happen from the context of a @Composable function" on

Continue reading