What is the best way to change the URL onClick or onSubmit in a React Class Component?

后端 未结 0 618
误落风尘
误落风尘 2021-01-21 11:16

I\'m aware of the useHistory hook for functional components in React, but in my application I have a class component that I want to make able to change the URL.

Is there

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