UNPKG

electron-react-boilerplate

Version:

Electron application boilerplate based on React, React Router, Webpack, React Hot Loader for rapid application development

26 lines (22 loc) 609 B
/** * 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 }