onMatch

onMatch and offMatch let you add a listener for ANY route matches. You can also
pass strings in instead of callbacks as the second argument to add that get passed into
your onMatch callback. This works great with setting the current route in a
global store like redux or setState in react.