Given value = NaN
When value && value > 0 && <Component>.
For some reason, the app renders "NaN" rather than not rendering anything. Am I missing something? I would have thought that because NaN is not greater than 0...it would not render anything?
NaNis considered truthy so whenNaN > 0fails the chained&&will just "return" the last truthy part of it.&&will return the value it failed with. That seems to be in that link as well