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

Statics reinitialization & Composition Cleaning #18

Closed
sellmair opened this issue Nov 21, 2024 · 1 comment
Closed

Statics reinitialization & Composition Cleaning #18

sellmair opened this issue Nov 21, 2024 · 1 comment
Assignees

Comments

@sellmair
Copy link
Member

The livestream from Seb Aigner and Márton Braun clearly showed that having top-level 'val' properties for storing DP values or other layout-related objects is a very fair use case.

Proposal:

  • Always reinitialize statics if the bytecode of the clinit function changes
  • Always invalidate all Composables reading a static field once this static is invalidated.
@sellmair sellmair self-assigned this Nov 21, 2024
@sellmair sellmair changed the title Statics reinitialization Statics reinitialization & Composition Cleaning Nov 21, 2024
@sellmair
Copy link
Member Author

Fixed by bad4515

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

No branches or pull requests

1 participant