Why react hooks shouldn’t be called conditionallyState management in react hooks behaves like arrays . State lives one level outside of react components being rendered.1 min read·sachindraragul.hashnode.devSep 4, 2021