All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Typescript hated a semicolon
- Typescript default export type
- allowGoBack: bool prop (use goBack method instead of push when navigating back -- !! NOTE WELL !! it will always navigate back only 1 item, even when it should navigate back more items. read more: ZacharyRSmith#30)
- Typescript typings
- Typescript typings
- Note in README.md that BrowserHistory is supported, but not HashHistory
- Demo to README.md
- Only set state if mounted
- README.md example
- doc disableNative on README.md
- update: devDeps
- Implements prop for disabling native browser confirmation
- Update test script.
- Only call when once from the block function.
- Make prevUserAction an instance instead of module property
- use entire location when navigation is confirmed
- Improve README
- include package-lock.json in the repo
- make afterConfirm, afterCancel callable
- Make react-router-dom an external dependency
- Update README
- When action is
"POP"
, push ( We cannot know the correct history entry to pop to without using memory history - (https://github.com/ReactTraining/history#properties).)
- props.when can be a function taking (crntLocation, nextLocation)
- props.beforeCancel()
- props.beforeConfirm()
- props.afterCancel()
- props.afterConfirm()
- tool: eslint
- Handle history.pop()/history.goBack() correctly
- build did not reflect src code
- Access fresh props in history.block()'s callback
- this.props.renderIfNotActive
- build did not reflect src code
- package.json
- Confirm navigation away from site
- doc: Important caveat
- this project's useable existence
- why?