Statechange is firing whenever i do a push-state

后端 未结 3 1419
野的像风
野的像风 2020-12-17 14:54

I am using history.js to handle back button. In history.js statechange is firing whenever i do a pushstate. Why?

3条回答
  •  情话喂你
    2020-12-17 15:18

    According to this discussion on github, it's expected behaviour of history.js

    This pull request claims to have modified history.js to be more inline with W3C Specs.

提交回复
热议问题