on-location-changed
1.0.13 • Public • Published
import {callbacksHandler} from "on-location-changed/callbacks-handler"
callbacksHandler.connectReactRouterHistory(history)
const {LocationChanged} = require("on-location-changed/location-changed-component")
<LocationChanged onChanged={this.onLocationChanged} />
onLocationChanged = () => {
console.log("The location was changed")
}
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.13
127
Version History
Package Sidebar
Install
npm i on-location-changed
Weekly Downloads