React displays 0 when using logical AND (&&) When using logical AND, React can display 0 in the UI in certain circumstances and this might not be what you expect. It is however the correct behaviour and I was not aware why. Tue Mar 29 2022