Enforces using a parameterless function which will only be invoked if the predicate is satisfied, allowing for lazy evaluation of inner JSX.
The following pattern is considered warning, when depth is 2:
renderIf(condition)(
<div />
);
The following patterns are not considered warnings:
renderIf(condition)(() => (
<div />
));
renderIf(condition)(function() {
return <div />;
});