can we scope a class to a composable?
# dagger
o
can we scope a class to a composable?
f
Technically you can, you can create a component the first time the composable is called and once it's disposed you destroy it. Also all those dependencies that live in the component will be created and destroyed accordingly.
o
can you kindly share an example?