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.
mainly web related notes, posts, whatever, by an average /seasoned/ web developer, mostly front, sometimes back
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.