AFNothing 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!Comment·Thread·Mar 16, 2017·How do you render components conditionally in React?