4.0.0
Added
useHistory
usePath
Changed
- BREAKING:
navigate
now hasoptions
object instead of overloads - BREAKING:
useNavigate
uses updatednavigate
params - BREAKING:
useLocationChange
now invokes the setter with aRavigerLocation
object instead of thepath
string
Fixed
usePath
getting an old path ifnavigate
was called during the initial render