I am having issues getting the onChange hook in react-router to work properly. Here is my routes file:
import React from \'react\'; import { Router, Route, brows
onUpdate needs to be declared on the Router instance not Routes. Although, Routes can declare onChange and onEnter hooks - it's probably what you were looking for.
Router
Route