# Why Do React Hooks Rely on Call Order?

DevFeed: [Why Do React Hooks Rely on Call Order?](<https://devfeed.tech/articles/why-do-react-hooks-rely-on-call-order-36208.md>)

Original publisher: [Read original article](<https://overreacted.io/why-do-hooks-rely-on-call-order/>)

Published: 2018-12-13T00:00:00Z

Content type: opinion

Language: en

Sources: [Dan Abramov](<https://devfeed.tech/sources/dan-abramov.md>)

Topics: [hooks](<https://devfeed.tech/topics/hooks.md>), [React Hooks](<https://devfeed.tech/topics/react-hooks.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [classes](<https://devfeed.tech/tags/classes.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [mixins](<https://devfeed.tech/tags/mixins.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>)

## AI overview

This personal article explains why React Hooks rely on a persistent call index between component re-renders. It discusses the design rationale, the ability to use Hooks repeatedly in a component, and the implications of that controversial choice.

## Source excerpt

Lessons learned from mixins, render props, HOCs, and classes.