Guard unsaved / dirty componets (usually containing forms) by issuing alert when leaving the component both by closing window (onbeforeunload) and / or navigating away by using react-roter routes.
Home Page:https://github.com/WARP-LAB/react-router-guard-dirty-state
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool