https://kotlinlang.org logo
#decompose
Title
# decompose
r

Ryan Woodcock

12/14/2023, 3:21 AM
Hey, I’m since upgrade to 3.0.0 (alphas) I can’t navigate on iOS for whatever reason. Pushing to the child stack doesn’t update the state at least in compose multiplatform. I was trying to use 2.2.1 but iOS crashes on launch because of essenty 1.3.0 not having this fix: https://github.com/arkivanov/Essenty/commit/4d94b59844d8903ca571a5cca860cf9cb3029a22
a

Arkadii Ivanov

12/14/2023, 8:16 AM
It would be nice to have a reproducer. I believe the sample app is working and all tests are passing.
The Essenty fix shouldn't matter usually, if you assign your instances to a property, like
Copy code
val something = instanceKeeper.getOrCreate { ... }
So don't call getOrCreate every time, but cache the reference instead.
r

Ryan Woodcock

12/14/2023, 8:36 AM
Ohhh gotchya that seems like my issue. I'll check that tomorrow
👍 1
3 Views