Use ternaries rather than && in JSX
What problems can happen when you use && to conditionally render content in JSX
Sources
- T2Use ternaries rather than && in JSXMartin Fowler / Overreacted / Kent C. Dodds / Josh Comeau
What problems can happen when you use && to conditionally render content in JSX