Skip to content

Commit bb1a5f7

Browse files
authored
Merge pull request #1 from onseok/fix/remembered-effect-comment
Fix incorrect comment for RememberedEffect in README
2 parents b873746 + 750a512 commit bb1a5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Unlike `LaunchedEffect`, `RememberEffect` does not create or launch a new corout
8484
```kotlin
8585
var count by remember { mutableIntStateOf(0) }
8686

87-
// It will launch a new coroutine scope regardless the task is related to the coroutines.
87+
// Unlike LaunchedEffect, this won't launch a new coroutine scope when the key changes.
8888
RememberEffect(key1 = count) {
8989
Log.d(tag, "$count")
9090
}

0 commit comments

Comments
 (0)