How to build a generic-reusable-synchronous-like confirmation dialog in React.js using Hooks and Context API

This is the code base repository for the medium article: How to build a generic-reusable-synchronous-like confirmation dialog in React.js using Hooks and Context API

A working demo can be found here

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.