-
Notifications
You must be signed in to change notification settings - Fork 69
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
base: main
Are you sure you want to change the base?
Compose 1.7.x #1627
Conversation
@@ -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) } } |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
I've published |
No description provided.