2.1.0
Added
options.onInitial
parameter foruseLocationChange
that controls the first render behavior.default: false
.
Fixed
useLocationChange
invoking the setter on initial render. This was not intended and was an unannounced change from the v1 behavior, so reverting it is not considered an API change but a bugfix.