hiltViewModel<ViewModel>() vs by viewModels()
(This might not be relevant, but I haven't been able to find the answer anywhere and it's been bugging me)
While creating and reviewing applications that use dagger-hilt I noticed that most people, to create an instance of their viewModel class, use something like
val viewModel: XViewModel by viewModels()
and some use
val viewModel = hiltViewModel()
is there any difference between those two?