@hookplus/use-prevent (npm): React Hook to prompt the user for confirmation before leaving the page
Keywords: react|hooks|useeffect|usestate