CommentMar 16, 2017
Nothing wrong with either way but React's docs even point to use the && operator for conditional 'if' rendering. https://facebook.github.io/react/docs/conditional-rendering.html#inline-if-with-logical--operator and it's less code!