---
title: "Discussion on \"Build a modal component with a powerful React hook\" | Hashnode"
description: "Discussion on \"Build a modal component with a powerful React hook\". Read about how you can create a powerful React custom hook to build an accessible modal component using advanced react patterns like prop getters."
url: "https://hashnode.com/posts/build-a-modal-component-with-a-powerful-react-hook/63ec01c6b07b692db4062921"
---

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

Discussion

# [Build a modal component with a powerful React hook](https://blog.gailani.dev/build-a-modal-component-with-a-powerful-react-hook?utm_source=hashnode&utm_medium=feed)

Read about how you can create a powerful React custom hook to build an accessible modal component using advanced react patterns like prop getters.

Feb 14, 2023 · 10 min read · blog.gailani.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#react-patterns](https://hashnode.com/tag/react-patterns)
-   [#usemodal](https://hashnode.com/tag/usemodal)
-   [#prop-getters](https://hashnode.com/tag/prop-getters)

## Written by

[Yaseen](https://hashnode.com/@gailani)

@gailani · Sydney, Australia

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

Front end Web Developer

A Front-End Web Developer with a passion for creating engaging, accessible, and visually stunning user interfaces.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
