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

前端 未结 0 456
广开言路
广开言路 2021-02-13 08:35

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

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