Join Slack
Powered by
Can anyone recommend some reading about what parts...
# compose
j
jeff
11/30/2021, 8:41 PM
Can anyone recommend some reading about what parts of a composable will recompose when, and why, and how to avoid recomposition, that sort of thing?
d
dephinera
11/30/2021, 8:45 PM
have you tried Android's tutorials? I remember them explaining when recomposition is done and how to mitigate it if it's not necessary
c
Casey Brooks
11/30/2021, 8:49 PM
Yup, this is the section in the docs on how recomposition actually works
https://developer.android.com/jetpack/compose/mental-model#recomposition
z
Zach Klippenstein (he/him) [MOD]
11/30/2021, 8:59 PM
This might help as well:
https://dev.to/zachklipp/scoped-recomposition-jetpack-compose-what-happens-when-state-changes-l78
➕ 1
o
Oliver.O
11/30/2021, 9:38 PM
...and the latter one is pretty excellent!
➕ 1
j
jeff
12/01/2021, 1:37 AM
TY all!!
z
Zach Klippenstein (he/him) [MOD]
12/01/2021, 6:43 PM
This is another good one:
https://www.jetpackcompose.app/articles/donut-hole-skipping-in-jetpack-compose
Open in Slack
Previous
Next