Naming convention (remember) #127
InsaneDoggo
started this conversation in
General
Replies: 2 comments
-
Thanks for the idea. But it doesn't return a mutable object. Perhaps something like |
Beta Was this translation helpful? Give feedback.
0 replies
-
Filed #128 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Function
asState
should be renamed torememberAsState
https://github.com/arkivanov/Decompose/blob/master/extensions-compose-jetbrains/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/jetbrains/ValueComposable.kt#L12
Acording to Compose's naming conventions:
prefix any @Composable factory function that internally remember {}s and returns a mutable object with the prefix remember.
Deatils
Beta Was this translation helpful? Give feedback.
All reactions