what do you think about keeping the root component...
# decompose
a
what do you think about keeping the root component in a ViewModel to keep it alive over config changes?
a
Well, I advise again this approach, because you won't be able to supply any dependency that captures the activity context, etc. But if you really want, here is an example: https://github.com/arkivanov/Decompose/discussions/331#discussioncomment-6268156
There seems to be an interest in this approach. I'll think if I could/should provide an API for this.
a
aha, got ya, thanks!
a
a
haha awesome!