popstate event will be triggered when hash changes in hook but it didn't in class component?

后端 未结 0 1890
孤街浪徒
孤街浪徒 2021-02-01 05:30

I have two basically same pages. One is class component and the other was write with function component. To avoid browser default cache, two pages will be add a random hash. I f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题