UNPKG

react-router

Version:
29 lines (22 loc) 488 B
/** * Actions that modify the URL. */ var LocationActions = { /** * Indicates a location is being setup for the first time. */ SETUP: 'setup', /** * Indicates a new location is being pushed to the history stack. */ PUSH: 'push', /** * Indicates the current location should be replaced. */ REPLACE: 'replace', /** * Indicates the most recent entry should be removed from the history stack. */ POP: 'pop' }; module.exports = LocationActions;