Not sure if this would be best posted here or in c...
# koin
c
Not sure if this would be best posted here or in compose, but when should I use
rememberKoinInject
instead of
koinInject
for Composables?
1
a
there are the same thing under hood. just wanted to have a same "naming" as Compose APIs
you can keep koinInject()
c
Awesome. Thanks for the help!
s
I want to avoid reinitialisation of PitaraDataStore during recomposition so I used
rememberKoinInject
but post update of koin 4.0.0 from 3.5.6 It seems that
rememberKoinInject
got removed, what is the replacement for this.?
m
just use
koinInject
which uses
remember
in its implementation?
a
yes koinInject uses remember. 4.0.3 will bring some patch to fix dynamic parameters stability
s
thanks @Mark @arnaud.giuliani