Ahoy! I've seen some Koin + Compose code and wante...
# koin
s
Ahoy! I've seen some Koin + Compose code and wanted to check in on it (as a non-expert in Koin :)). The code was based on this thread here: https://github.com/InsertKoinIO/koin/issues/823
Copy code
@Composable
fun SomeScreen() {
    val myObject = KoinContext.get().inject()
    // ... use myObject
}
How does this behave when the function recomposes (which causes it to execute again)?