history.js
history.js copied to clipboard
replaceState bug
context:
url === 'http://hostname/pathname'
bug:
getState().cleanUrl === 'http://hostname/pathname' // true
replaceState(null, null, '/pathname2')
getState().cleanUrl === 'http://hostname/pathname2' // expected to be: true, the truth is: false,the "cleanUrl" is not change.