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

Fix incorrect comment for RememberedEffect in README #1

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

onseok
Copy link

@onseok onseok commented Mar 11, 2025

First of all, thank you for creating this library!

While reading through the README, I noticed a small inconsistency in the RememberedEffect section. The main description correctly explains that unlike LaunchedEffect, RememberedEffect doesn't create or launch a new coroutine scope on each key change. However, the comment in the code example states the opposite: "It will launch a new coroutine scope regardless the task is related to the coroutines."

I've updated the comment to align with the actual behavior described in the explanation above.

Thank you again for this valuable contribution to the Compose ecosystem!

@onseok onseok requested a review from skydoves as a code owner March 11, 2025 01:30
Copy link
Owner

@skydoves skydoves left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you for your contribution :)

@skydoves skydoves merged commit bb1a5f7 into skydoves:main Mar 11, 2025
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.

3 participants