GitHub repository: tzynwang/react-hook-use-prevent-leave
Primary language: TypeScript
Created: 2022-07-19T13:35:35Z
Description: A react custom hook to prompt confirm dialog when user tries to close the tab or refresh the page. Supports TypeScript.