How to nicely init state from database in Jetpack Compose?
I have a Jetpack Compose (desktop) app with a database, and I want to show some UI based on data from the db: val data = remember { mutableStateListOf<Dto>() } Column { data.forEach { /* make UI */ } } My question is, at which point should I execute my database query to fill the… Read More How to nicely init state from database in Jetpack Compose?