Skip to content

Instantly share code, notes, and snippets.

@elihart
Last active November 20, 2019 18:00
Show Gist options
  • Save elihart/be25a04a763d5a0a0e4c201d9ac520ea to your computer and use it in GitHub Desktop.
Save elihart/be25a04a763d5a0a0e4c201d9ac520ea to your computer and use it in GitHub Desktop.
MvRx Set Syntax Chaining Example
state("Not super hosted") {
setFalse {  ::listingDetails { success {  ::isHostedBySuperhost } } }
.setFalse {  ::listingDetails { success {  ::primaryHost {  ::isSuperhost } } } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment