2 ms·
I do something similar in React too: const foo = () => console.log && <Something /> That stops the body rendering, and you can use '||' if you want the body a
by Accacin 5y ago
I do something similar in React too:
const foo = () => console.log && <Something />
That stops the body rendering, and you can use '||' if you want the body and the log.