on-location-changed
v1.0.13
Published
```js import {callbacksHandler} from "on-location-changed/callbacks-handler"
Downloads
234
Readme
Installation
import {callbacksHandler} from "on-location-changed/callbacks-handler"
callbacksHandler.connectReactRouterHistory(history)
Usage
const {LocationChanged} = require("on-location-changed/location-changed-component")
<LocationChanged onChanged={this.onLocationChanged} />
onLocationChanged = () => {
console.log("The location was changed")
}