react-toolbox-reactrouter-mocha-boilerplate
Version:
### Getting Started 1. Clone this repository 2. Run `npm install && npm start` 3. Visit `0.0.0.0:8080` in your browser
26 lines (22 loc) • 609 B
JavaScript
/**
* Indicates that navigation was caused by a call to history.push.
*/
export const PUSH = 'PUSH'
/**
* Indicates that navigation was caused by a call to history.replace.
*/
export const REPLACE = 'REPLACE'
/**
* Indicates that navigation was caused by some other action such
* as using a browser's back/forward buttons and/or manually manipulating
* the URL in a browser's location bar. This is the default.
*
* See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
* for more information.
*/
export const POP = 'POP'
export default {
PUSH,
REPLACE,
POP
}