Is it the case that withRouter’s location is somehow a better approach than using [removed]? If so why?

前端 未结 0 836
执笔经年
执笔经年 2021-02-13 09:12

Is it the case that withRouter’s location is somehow a better approach than using window.location? If so why ? Im creating a utility func for something and it uses the window.lo

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