Uploaded January 2021 | Updated November 2026, 3 hours 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/










