Simplify mutating "immutable" state models (a Kotlin multiplatform library)
APACHE-2.0 License
Bot releases are hidden (Show)
Published by PatilShreyas about 2 years ago
update{}
on the instance of mutable model.Example:
val state = MutableNotesState(...)
state.update {
isLoading = false
notes = listOf("Lorem Ipsum")
}
Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0-alpha02...v1.0.0-alpha03