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

Optimize rememberRetained #850

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Optimize rememberRetained #850

merged 1 commit into from
Sep 4, 2023

Conversation

ZacSweers
Copy link
Collaborator

This is a port of the analogous change in rememberSaveable in compose 1.6.0 alphas: https://android-review.googlesource.com/c/platform/frameworks/support/+/2655245

Note that we have to introduce a RetainedValueProvider option to support JS.

Resolves #849

This is a port of the analogous change in `rememberSaveable` in compose 1.6.0 alphas: https://android-review.googlesource.com/c/platform/frameworks/support/+/2655245

Note that we have to introduce a `RetainedValueProvider` option to support JS.
@ZacSweers ZacSweers merged commit 8ba81ba into main Sep 4, 2023
1 check passed
@ZacSweers ZacSweers deleted the z/portOptimization branch September 4, 2023 17:17
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")

package com.circuit.retained.android
package com.slack.circuit.retained.android
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

opportunistic fix

ashdavies pushed a commit to ashdavies/circuit that referenced this pull request Sep 14, 2023
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.

Port rememberSaveable optimization to circuit-retained
2 participants