Dr. Derek Austin 🥳
1 min readJul 29, 2020

--

Is there an alternative to using the short-circuit operator (&&) in JSX?

I'm only familiar with making a string of JSX conditionally before the return statement.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

No responses yet