Would both Texts be always recomposed even if (for example) there were 5 emissions and in all 5 only title was changing?
a
Adam Powell
04/19/2021, 12:28 AM
The entire
Content
function will recompose, but each individual
Text
function may skip/return early if the parameters are stable and match the previous recomposition
d
dimsuz
04/19/2021, 10:26 AM
Great! I hoped this would be the case, because I'd like to have unidirectional flow with whole "screen" state being in one large data class.
"stable" = "marked as @Immutable"? Or being a data class is enough?