Cleaner way to write conditionals in JSX
Hello, I'm Hardik and this is my first blog ever 💁♂️. I am an SDE intern🐱💻 working a lot on React.
I love Neat and Clean code I always strive for it, one of the things I'm weak at is naming variables LOL.😥
Problem
Conditionals in JSX make cod...