Join Slack
Powered by
what if I change the state to something that is ex...
# compose
o
oday
10/15/2022, 11:38 AM
what if I change the state to something that is exactly the same as the state that was there before? will that trigger recomposition?
s
Stylianos Gakis
10/15/2022, 11:41 AM
No
o
oday
10/15/2022, 11:42 AM
ok it makes sense
z
Zach Klippenstein (he/him) [MOD]
10/16/2022, 4:00 AM
Long answer: if you’re using mutableStateOf, it depends on the snapshot mutation policy you can optionally pass in.
s
Stylianos Gakis
10/16/2022, 8:25 AM
If you don't know what Zach is talking about, it means you're not doing it so don't worry about it.
3
Views
Open in Slack
Previous
Next