technically you don't need it in android xml either.
If you mean
this comment from Jim Sproch, he only advises against platform specific code like the Android VM. But now we even have a
common viewmodel.
Or
this says to not pass a viewmodel into your composable functions. Obviously you should use proper state hoisting instead and have viewmodels at a screen level.
This has nothing to do with the architectural decision to decouple ui from business logic.