DEV Community

loading...

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

Collapse
drarig29 profile image
Corentin Girard

I don't like the shortcut where you just evaluate the truthiness of myArray.length to know if an array is empty or not...