Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose 1.7.x #1627

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Compose 1.7.x #1627

wants to merge 25 commits into from

Conversation

stagg
Copy link
Collaborator

@stagg stagg commented Sep 5, 2024

No description provided.

@stagg stagg marked this pull request as ready for review September 13, 2024 00:46
@@ -48,7 +48,7 @@ class OverlayTest {
moleculeFlow(RecompositionMode.Immediate) {
val overlayHost = rememberOverlayHost()
val overlayHostData by rememberUpdatedState(overlayHost.currentOverlayData)
key(overlayHostData) { overlayHostData?.let { data -> data.overlay.Content(data::finish) } }
key(overlayHost) { overlayHostData?.let { data -> data.overlay.Content(data::finish) } }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was the impetus for this one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was getting stuck in a recomposition loop as the data was changed. Side effect of the more unique key changes with 1.7

@ZacSweers
Copy link
Collaborator

I've published 0.24.0-alpha01-compose17 with the changes in this PR up to this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants