Navbar and footer has the same ReactRouter pointing to same destination. URL is changed, but component is not loaded

前端 未结 0 1836
一向
一向 2021-01-30 06:21

My problem is the header (or a navbar) and footer both contain the same links "/" and "/about". If either one is clicked, React Router is just changing URL,

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