There is an example in Kotlin <docs>: ``` var sel...
# compose
m
There is an example in Kotlin docs:
Copy code
var selectedId by savedInstanceState<String?> { null }
Why isn't remember used here? Is it OK (or recommended) to use remember before
savedInstanceState()
?
a
savedInstanceState { } already does the remember thingy internally
🎉 1
👏 1
😀 1
f
For compose I would always recommend to just look into the function sources themselves inside your IDE. The source code is very well documented and most of the time fairly easy to understand on the upper levels! 👍
👍 1
☝️ 1