Skip to content

Instantly share code, notes, and snippets.

@saurabharora90
Created November 5, 2023 15:12
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 saurabharora90/d6e05be8840b8c5e72e8fff9d6bd5aa5 to your computer and use it in GitHub Desktop.
Save saurabharora90/d6e05be8840b8c5e72e8fff9d6bd5aa5 to your computer and use it in GitHub Desktop.
With key
- val isValidHashtag: Boolean by remember {
+ val isValidHashtag: Boolean by remember(hashtags) {
derivedStateOf {
!inputHashTag.contains(" ")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment