---
title: "Discussion on \"Why react hooks shouldn’t be called conditionally\" | Hashnode"
description: "Discussion on \"Why react hooks shouldn’t be called conditionally\". State management in react hooks behaves like arrays . State lives one level outside of react components being rendered."
url: "https://hashnode.com/posts/why-react-hooks-shouldnt-be-called-conditionally/6132ba5f5b12102f2987d667"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why react hooks shouldn’t be called conditionally](https://sachindraragul.hashnode.dev/why-react-hooks-shouldnt-be-called-conditionally?utm_source=hashnode&utm_medium=feed)

State management in react hooks behaves like arrays . State lives one level outside of react components being rendered.

Sep 4, 2021 · 1 min read · sachindraragul.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)

## Written by

[Sachindra Ragul](https://hashnode.com/@sachindraragul)

@sachindraragul

  
[View profile](https://hashnode.com/@sachindraragul)

I'm a web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
