document.querySelector() always return null when clicking on React Router Link the first time but will return correctly after

前端 未结 0 826
抹茶落季
抹茶落季 2021-01-02 07:04

I\'m stucking on a problem with React-Router and querySelector.

I have a Navbar component which contains all the CustomLink components for n

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