It seems like if I pass a data class that has inte...
# compose
l
It seems like if I pass a data class that has internal visibility to a Composable, then even though the Compose compiler metrics output identifies the parameter as stable it seems to still cause recompositions when the value doesn't change. Removing the internal or adding @Immutable fixes it. Is this expected? Took a few hours to debug that one...
m
paste the data class here
l
Nothing special about it
Copy code
internal data class CountryUiModel(
    val code: String,
    val name: String,
    val flagResource: Int?,
    val diallingCode: String
)