Stop Recomposing on Every Scroll Pixel: derivedStateOf in Jetpack Compose
Reading LazyListState directly recomposes your UI on every scroll pixel. derivedStateOf limits recomposition to when the computed result actually changes — here's how it works and when it backfires.