J T*_*ang 6 history routes reactjs
在我的反应函数中,我可以写:
const history = props.history;
或者
const history = useHistory();
然后我可以使用history.push()或history.goBack()以同样的方式。
所以我想知道它们是否不同?
| 归档时间: |
|
| 查看次数: |
1670 次 |
| 最近记录: |