Closed arkivanov closed 1 month ago
The pull request includes updates to the deps.versions.toml
file, changing the versions of the essenty
and jetbrainsCompose
dependencies from beta and release candidate versions to stable releases. Additionally, modifications were made to the DefaultCounterComponent
and DefaultKittenComponent
classes, where the getOrCreate
method was replaced with the retainedInstance
method from the InstanceKeeper
class. This change affects how instances are managed and retained across configuration changes, while the overall structure and public interfaces of the components remain unchanged.
File | Change Summary |
---|---|
deps.versions.toml | Updated essenty from "2.2.0-beta01" to "2.2.0" and jetbrainsCompose from "1.7.0-rc01" to "1.7.0" . |
sample/shared/shared/src/commonMain/kotlin/com/arkivanov/sample/shared/counters/counter/DefaultCounterComponent.kt | Replaced getOrCreate method with retainedInstance for handler instance management. |
sample/shared/shared/src/commonMain/kotlin/com/arkivanov/sample/shared/customnavigation/DefaultKittenComponent.kt | Replaced getOrCreate method with retainedInstance for handler instance management. |
jetbrainsCompose
dependency in the deps.versions.toml
file, which is directly related to the version updates made in the main PR for the same dependency.🐰 In the garden of code, we hop with glee,
Versions updated, as fresh as can be!
With handlers retained, our state stays bright,
Through changes and tweaks, we code with delight!
So let’s celebrate, with a joyful cheer,
For stable releases, we hold so dear! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
DefaultCounterComponent
andDefaultKittenComponent
, improving state retention across configuration changes.These updates ensure a more reliable user experience with better state management and the latest features from dependencies.