Decompose 3.4.0-alpha03 is released! :point_right...
# decompose
a
Decompose 3.4.0-alpha03 is released! 👉 Added
JetpackComponentContext
API 👉 Updated Compose to
1.8.2
👉 Fixed
ClassCastException
in
SlotNavigator#dismiss
on
wasmJs
on Kotlin 2.2 Release notes: https://github.com/arkivanov/Decompose/releases/tag/3.4.0-alpha03
👏 5
v
Any example usecase, where this
viewModel
inside a component can be used? Isn't a component an alternative of viewModel, especially when its created using retainedComponent?
a
Some people would just prefer the ViewModel API over InstanceKeeper. Another use case: there may be existing ViewModels that you want to reuse. Also, it makes it simpler to reuse an existing Composable function that accepts a ViewModel.
d
Awesome release great decompose intensifies
decompose intensifies 1