Ternery Expressions in JSX
JSX supports ternery expressions though its not the best practice to have so much logic in the return statement Instead, this would be preferable:
October 22, 2020
JavaScript, React