react-hook-use-prevent-leave (npm): A react custom hook to prevent leaving by tab close or page refresh.
Keywords: react|custom hook|prevent leave|block leave|custom-hook|react-hooks|typescript