react-router-navigation-prompt
Advanced tools
Comparing version 1.8.14 to 1.8.15
@@ -7,2 +7,6 @@ # Changelog | ||
## [1.8.15] - 2021-06-21 | ||
### Changed | ||
- Enhanced README.md | ||
## [1.8.14] - 2021-06-21 | ||
@@ -9,0 +13,0 @@ ### Fixed |
{ | ||
"name": "react-router-navigation-prompt", | ||
"version": "1.8.14", | ||
"version": "1.8.15", | ||
"description": "A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -19,3 +19,3 @@ # React Router <NavigationPrompt/> | ||
Promps user to confirm navigation. A replacement component for the react-router `<Prompt/>` (this still uses react-router to work). Allows for more flexible dialogs. | ||
Prompts user to confirm navigation. A replacement component for the react-router `<Prompt/>` (this still uses react-router to work). Allows for more flexible dialogs. | ||
@@ -26,2 +26,6 @@ **Note: Currently tested using only react-router's `BrowserHistory`. `HashHistory` has issues: https://github.com/ZacharyRSmith/react-router-navigation-prompt/issues/36** | ||
**Note: If you pass a function to props.when, then make sure to check if nextLocation is defined before trying to use it.** | ||
**Note: Just like react-router's `<Prompt/>`, this component does not work with multiple `BrowserHistory`s: https://github.com/ZacharyRSmith/react-router-navigation-prompt/issues/77 ** | ||
Motivation: https://github.com/ReactTraining/react-router/issues/4635 | ||
@@ -28,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
228642
114