DEV Community

Discussion on: React Clean Code - Simple ways to write better and cleaner code

Collapse
 
dimaportenko profile image
Dima Portenko

I agree. As Kent C. Dodds said it's abuse of usage && rather than clean code. Also this article provides 0 arguments and just direct you this is good and this is bad.

Some day usage of && in render function will lead you to stackoverflow.com/questions/523683.... Probably you'll not be who wrote it but you have to fix it.