const foo = () => console.log && <Something />
That stops the body rendering, and you can use '||' if you want the body and the log.
const foo = () => console.log && <Something />
That stops the body rendering, and you can use '||' if you want the body and the log.