---
title: "Discussion on \"New Prompt & Confirmation Dialog API for React\" | Hashnode"
description: "Discussion on \"New Prompt & Confirmation Dialog API for React\". In React the declarative nature rules how we write our code today. With this rules in mind, showing modals, prompts or confirmation dialogs come with some additional cost of rethinking how state, effects must work. \nConfirmation dialog in React the o..."
url: "https://hashnode.com/posts/new-prompt-and-confirmation-dialog-api-for-react/60f1e33bbb67011cb8367ad1"
---

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

Discussion

# [New Prompt & Confirmation Dialog API for React](https://hashnode.com/post/new-prompt-and-confirmation-dialog-api-for-react?utm_source=hashnode&utm_medium=feed)

In React the declarative nature rules how we write our code today. With this rules in mind, showing modals, prompts or confirmation dialogs come with some additional cost of rethinking how state, effects must work. Confirmation dialog in React the o...

Jul 16, 2021 · 4 min read · hashnode.com  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#async](https://hashnode.com/tag/async)
-   [#await](https://hashnode.com/tag/await)

## Written by

[Lukas Klinzing](https://hashnode.com/@theluk)

@theluk

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

## Responses 1

Markdown supported · ⌘↵ to post

[Yasir Hantoush](https://hashnode.com/@yasirhantoush)

[Nov 16, 2022](https://hashnode.com/posts/new-prompt-and-confirmation-dialog-api-for-react/60f1e33bbb67011cb8367ad1/comment/63756a8d44a41864b3aa75c0)

nice approach, what is the state of the library ? is it done ?
