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")
}