eygraber
03/01/2023, 5:26 AMBen Trengrove [G]
03/01/2023, 5:27 AMeygraber
03/01/2023, 6:02 AMcollectAsState
on a Flow
at the top level of my features, and fan out the state to the specific composables that need it.
That state is always marked as Immutable
but if one of its values (or grandchild values, etc...) is unstable it can cause a whole subtree to not get skipped when it should have.Ben Trengrove [G]
03/01/2023, 6:05 AMeygraber
03/01/2023, 6:38 AMBen Trengrove [G]
03/01/2023, 7:19 AMeygraber
03/01/2023, 7:23 AMStylianos Gakis
03/01/2023, 9:11 AMA better solution would be writing performance benchmarks and failing a build when you regress performance. Admittedly that’s probably a bit more effort to set up thoughA precedent for something like this can be set by introducing this setup in NowInAndroid. Do you think there’d be room for something like that there?
Ben Trengrove [G]
03/01/2023, 9:15 AMStylianos Gakis
03/01/2023, 9:18 AMBen Trengrove [G]
03/01/2023, 9:25 AM