Fix React rendering ‘0’ when using short circuit evaluation (&&)
Published in
4 min readApr 14, 2023
Short circuit evaluation is a great feature of React, but it can often cause unnecessary rendering and a few headaches!
Short circuit evaluation is a great feature of React, but it can often cause unnecessary rendering and a few headaches!
I write about stuff I find interesting. Usually WebDev, React and occasionally Finance.