Hello everyone, Why we need to unload koin modules...
# koin
a
Hello everyone, Why we need to unload koin modules, given that it do not remove anything from memory it's just Koin no longer knows how to create certain dependency or is there other benefits?
a
unloading modules is only required if you intend to reload those modules. Else yes, everything will be garbaged at the end of your app process
a
but why would I unload, if I want to reload it like will there be any differences when we reload next time, as per my understanding it will be same
a
reload => mean drop and load, then you drop your singletons
a
modules have the widest scope over existing scopes
it let you drop everything
😯 1