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

前端 未结 0 1886
面向向阳花
面向向阳花 2021-01-30 06:13

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,

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