Hello all :wave: here is a complete migration gui...
# koin
a
Hello all 👋 here is a complete migration guide using Now In Android as a real-world example. It uses Koin Annotations 2.3 Key points 👉 • JSR-330 compatibility - step-by-step migration • @KoinApplication + @Configuration scale module discovery effortlessly • Smoother scope management with Scope Archetypes • Compile-time safety 📖 The full article: https://blog.insert-koin.io/migrating-now-in-android-to-koin-annotations-2-3-67d252dbb97d
koinscroll 7
s
Are koin annotations just a interim migration step from hilt, or are the recommended for use in new projects?
k
@StavFX you can use it for new projects
a
Koin Annotations is annotation processing that generates Koin DSL for you. You can stay with Koin annotations only if you want. It's just a style of configuring Koin
I'm looking at continuing improving the DSL too
s
So how is Koin with annotations different from Hilt? Is there a reason to prefer one over another? It's very similar API and configuration, right?
k
@StavFX KMP support
s
oh ok yeah fair enough
👍 1