Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to remove ViewModel dependency from mavericks-compose artifact? #605

Open
kaushalyap opened this issue Jan 14, 2022 · 2 comments

Comments

@kaushalyap
Copy link

In Jetpack Compose world ViewModels seems unnecessary. Seems member of Compose team think so too. We could accomplish more than the purpose of VM using saveableComposeState

What you folks think? Can ViewModel dependency be removed from mavericks-compose artifact?

@elihart
Copy link
Contributor

elihart commented Jan 14, 2022

it sounds like you're asking for kotlin multi platform support. It would be nice to support, but it is not trivial and can't just be done for the compose artifact, it would have to be done for the whole library. There are currently no plans to do that.

@kaushalyap
Copy link
Author

While KMM is nice to have, do not you think VM dependency is necessary in the world of Jetpack Compose? (this change will bring MVI pattern on Android closer to React Redux world)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants