Uploaded January 2021 | Updated September 2026, 2 weeks ago
There's a better way to do conditionals in JSX. Using the AND operator can run into some issues, so make it explicit by using something like a ternary operator. Here's why and how to make your React code a little more bulletproof...
https://ericmurphy.xyz/
There's a better way to do conditionals in JSX. Using the AND operator can run into some issues, so make it explicit by using something like a ternary operator. Here's why and how to make your React code a little more bulletproof...
https://ericmurphy.xyz/










