Android Kotlin — remember() with keys vs. derivedStateOf()

Maneesha Erandi
2 min readApr 1, 2024
Photo by Louis Tsai on Unsplash

Managing the state is a very important topic in mobile development. In a mobile app, the UI will change according to the user's actions all the time. What we have to consider is whether we are using the correct methods and APIs to make the process more optimized.

Jetpack Compose offers APIs to make managing the app state easy. When we want to update the same…

--

--