---
title: "Discussion on \"Why To Build Your Own Custom Hooks?\" | Hashnode"
description: "Discussion on \"Why To Build Your Own Custom Hooks?\". What is hook?\n\nA hook is a special function that gives powers 💪 to functional components for a lifecycle as well as a state such as useEffect and useState hooks.\n\nThe absence of these inefficiencies was one reason why functional components have long..."
url: "https://hashnode.com/posts/why-to-build-your-own-custom-hooks/62ab42711a89c91850b1b163"
---

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

Discussion

# [Why To Build Your Own Custom Hooks?](https://shmbajaj.hashnode.dev/why-to-build-your-own-custom-hooks?utm_source=hashnode&utm_medium=feed)

What is hook? A hook is a special function that gives powers 💪 to functional components for a lifecycle as well as a state such as useEffect and useState hooks. The absence of these inefficiencies was one reason why functional components have long...

Jun 16, 2022 · 2 min read · shmbajaj.hashnode.dev  
Read the article

-   [#hooks](https://hashnode.com/tag/hooks)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#customhooks](https://hashnode.com/tag/customhooks)

## Written by

[Shubham Bajaj](https://hashnode.com/@shmbajaj)

@shmbajaj

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

Engineer

Reader focused on clearer thinking and applied learning. | Writer focused on documenting thinking. | Nothing in this.nothing.

## Responses 1

Markdown supported · ⌘↵ to post

[Shoyemi Esther](https://hashnode.com/@Medusa)

[Jun 17, 2022](https://hashnode.com/posts/why-to-build-your-own-custom-hooks/62ab42711a89c91850b1b163/comment/62ace58e6528393d8aa52332)

Very Informative.

[Shubham Bajaj](https://hashnode.com/@shmbajaj)

[Jun 18, 2022](https://hashnode.com/posts/why-to-build-your-own-custom-hooks/62ab42711a89c91850b1b163/comment/62ace58e6528393d8aa52332#reply-62ad8222cc6d8844e0df3e08)

Thank You
