Last active
August 10, 2017 21:06
-
-
Save ladas-larry/d53218f48c80af452ec53107af732883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if condition | |
{someName && <div>{someName}</div>} | |
//if-else consdition | |
{ loggedIn && <LogoutButton /> || <LoginButton /> } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment