[go: nahoru, domu]

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

Make remember() and LaunchedEffect() receive its key parameters as receivers #682

Closed
wants to merge 0 commits into from

Conversation

JunJaBoy
Copy link
Contributor
@JunJaBoy JunJaBoy commented May 13, 2024

Proposed Changes

  • Made remember() receives its key parameters as receivers
  • Made LaunchedEffect() receives its key parameters as receivers
  • Made DisposableEffect() receives its key parameters as receivers

Testing

Test: None

Issues Fixed

Fixes: The issue on https://issuetracker.google.com/issues/340041661 being fixed

@Miha-x64
Copy link

Hi! Just hanging around the repo with some unwanted advice:

  • Any? is useless, you need <T1, T2, …> etc
  • .toList() is ain't free. .asList() is cheaper; Array<out Any?> is free but Any? elements are still useless

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