reactormonk
09/20/2023, 3:12 PMMutableState into a @Composable function, and use var value by mutableState at the outer function and expect a recomposition once the inner function changes MutableState?Hrodrick
09/20/2023, 3:22 PMvide
09/20/2023, 3:45 PMrememberStylianos Gakis
09/20/2023, 4:30 PMMutableState down to your composables.
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1644852692627449?thread_ts=1644783454.508379&cid=CJLTWPH7SHrodrick
09/20/2023, 4:37 PMSomeData object directly?Stylianos Gakis
09/20/2023, 4:38 PMStylianos Gakis
09/20/2023, 4:39 PMsome use cases may only be achieved using that approachNo that isnāt true, you can always pass down the state read lamba + a lambda to change the state too. Which is always a better idea than passing MutableState at least.
reactormonk
09/20/2023, 4:40 PMHrodrick
09/20/2023, 4:41 PM