UNPKG

react-crossroads

Version:

Client side router for web applications built with React and utilizing the Flux architecture. The backing routing engine is CrossroadsJs.

17 lines (13 loc) 343 B
var RouterConstants, keyMirror; keyMirror = require('react/lib/keyMirror'); RouterConstants = keyMirror({ ROUTER_ACTION: null, CHANGE_EVENT: null, LOCATION_CHANGE: null, LOCATION_REPLACE: null, LOCATION_GOBACK: null, LOCATION_BLOCK: null, LOCATION_UNBLOCK: null, LOCATION_ATTEMPT: null }); module.exports = RouterConstants;