Closed RajaSK05 closed 2 years ago
When we update the url directly from the browser, the onChange event in the Router receives an object with url as an empty string and current as null. To maintain hash history, history v5 is used.
onChange
url
current
null
This should be fixed in Preact Router v4, which supports history v5.
When we update the url directly from the browser, the
onChange
event in the Router receives an object withurl
as an empty string andcurrent
asnull
. To maintain hash history, history v5 is used.