react-beforeunload-state (npm): React Hook to prevent leave window if state is different with setting value
Keywords: react|hooks|beforeunload|prevent leave