Skip to content

Instantly share code, notes, and snippets.

@rufus2021
Created September 29, 2015 19:06
Show Gist options
  • Save rufus2021/662b78727d02d6d0e1ac to your computer and use it in GitHub Desktop.
Save rufus2021/662b78727d02d6d0e1ac to your computer and use it in GitHub Desktop.
{isFirstItem &&
this.doSomething()
vp.xs && this.doSomethingElse()
}
versus
{isFirstItem && this.doSomething()}
{isFirstItem && vp.xs && this.doSomethingElse()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment