1.0.12 • Published 2 months ago
on-location-changed v1.0.12
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")
}