https://kotlinlang.org logo
#moko
Title
# moko
a

Alejandro Rios

03/29/2024, 9:23 PM
Hello, I have a KMP/CMP project that uses
moko-mvvm
, I'm updating the CMP version to 1.6.1, strangely, when I run the web JS version i'm getting this error, does anyone know what could it be or how to fix this?
it looks like the issue occurs when I try to call
Copy code
val viewModel = getViewModel(Unit, viewModelFactory { BoggleViewModel(store) })
I manage to fix it by implementing
koin
in the project and injecting the viewModel
2 Views