Slide 37
Slide 37 text
Recomposition🔁
● Any time a state is updated a recomposition takes place.
● Whenever state changes, whoever is consuming state is recomposed.
● Triggered By Events : Changes to state variables, user input, or other events
trigger recomposition,
● Only rebuild the parts of the UI that are affected by the changes. instead of calling
whole function.
Event Composable UI-Redraw