# Why Isn't X a Hook?

DevFeed: [Why Isn't X a Hook?](<https://devfeed.tech/articles/why-isn-t-x-a-hook-36212.md>)

Original publisher: [Read original article](<https://overreacted.io/why-isnt-x-a-hook/>)

Published: 2019-01-26T00:00:00Z

Content type: tutorial

Language: en

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

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

Tags: [article](<https://devfeed.tech/tags/article.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [bug](<https://devfeed.tech/tags/bug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>)

## AI overview

This deep dive explains why some React APIs should not be designed as Hooks. It focuses on preserving composition and debugging as applications and custom Hook nesting grow.

## Source excerpt

Just because we can, doesn't mean we should.