---
title: "Discussion on \"How to Write Our Own Custom Hooks in React\" | Hashnode"
description: "Discussion on \"How to Write Our Own Custom Hooks in React\". React custom hooks help us to extract component logic into reusable functions"
url: "https://hashnode.com/posts/how-to-write-our-own-custom-hooks-in-react/62b83f69b86f939ac81b73cb"
---

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

Discussion

# [How to Write Our Own Custom Hooks in React](https://blog.thisurathenuka.dev/how-to-write-our-own-custom-hooks-in-react?utm_source=hashnode&utm_medium=feed)

React custom hooks help us to extract component logic into reusable functions

Jun 26, 2022 · 3 min read · blog.thisurathenuka.dev  
Updated Jul 10, 2023  
Read the article

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

## Written by

[Thisura Thenuka](https://hashnode.com/@Thisura123)

@Thisura123 · Ambalangoda, Sri Lanka

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

Backend engineer

I write about what I learn

## Responses 1

Markdown supported · ⌘↵ to post

[Favourite Jome](https://hashnode.com/@Favourite)

[Jun 28, 2022](https://hashnode.com/posts/how-to-write-our-own-custom-hooks-in-react/62b83f69b86f939ac81b73cb/comment/62baeadd3f3c29d732652e0f)

Thanks for sharing! Custom hooks are something I haven't done alot; it's high time I start looking for use cases for it 😊
