loading...

re: The 10 Component Commandments VIEW POST

TOP OF THREAD FULL DISCUSSION
re: also found useful this pattern as more declarative, but need to use it carefully. my early pitfall was to use array.length && ... instead o...
 

This is great advice. Falsey and Thruthy values bit me in the same way. I do things like isEmpty(array) or if I am really defensive isNullOrEmpty(array)

code of conduct - report abuse