icerockdev / moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
994 stars 95 forks source link

[WEB] Function 'getViewModel' can not be called: No function found for symbol 'dev.icerock.moko.mvvm.compose/getViewModel #271

Closed jershell closed 2 months ago

jershell commented 2 months ago

After update a compose version 1.6.2 moko-mvvm not working.

tl;dr Neeed use new compose-compiller

details here https://youtrack.jetbrains.com/issue/KT-67043/KJS-Function-Navigator-can-not-be-called-No-function-found-for-symbol

jershell commented 2 months ago

workaround: use lifecircle-viewmodel-compose from compose