Has anyone by chance tried updating a project usin...
# decompose
j
Has anyone by chance tried updating a project using Decompose to CMP 1.9.0-alpha02. I'm getting following for some reason running Compose for Desktop app......could be nothing to do with Decompose but other projects I have don't seem to have this issue.
a
j
yeah, possibly....this is for Confetti project btw
If I wrap some token composable content then it's fine but seems to experience this once I add
Child
again, may be something completely different
a
What do you mean by "add Child"?
j
sorry, meant
Children
as in
Copy code
Children(stack = component.stack) {
        when (val child = it.instance) {
            is AppComponent.Child.Loading -> LoadingView()
            is AppComponent.Child.Conferences -> ConferenceListView(child.component)
            is AppComponent.Child.Conference -> ConferenceView(child.component)
        }
    }
a
I think it's either something got broken in Compose, or a compatibility issue and we need to update the Compose version in Decompose.
You can try publishing Decompose with the new version of Compose locally. Not sure if it's something you want to spend time on, though 😁
j
yeah, might try that at some point.....and could as you say be something in Compose itself
👍 1
a
It would be great if you post your info in that YT ticket.
👍 1
j
assuming this is the same issue then it should be resolved in next alpha https://youtrack.jetbrains.com/issue/CMP-8323
a
Yeah, seems like that's the cause. Thanks for sharing!