I have react class that is rendered using react router. I understand that React.cloneElement is used to pass elements from parent to child. But why/what does the \'&&
It's Short circuit evaluation
(if this part is true) && (this part will execute)
And it shorthand of:
if(condition){ (this part will execute) }