Skip to content

Instantly share code, notes, and snippets.

@thearchetypee
Last active December 31, 2023 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thearchetypee/723f70986ce58d49d7926588e175d816 to your computer and use it in GitHub Desktop.
Save thearchetypee/723f70986ce58d49d7926588e175d816 to your computer and use it in GitHub Desktop.
@Composable
fun MyComponent() {
var email by remember { mutableStateOf("") }
val isValidEmail = remember {
derivedStateOf {
isEmailValid(email)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment