This repo demonstrates how you can have an app-wide usage of useBlocker
to prevent navigation away from the page when there are unsaved changes.
-
Notifications
You must be signed in to change notification settings - Fork 0
A demo of an app-wide useBlocker hook using Redux
crutchcorn/react-router-use-blocker-exploration
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A demo of an app-wide useBlocker hook using Redux
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published