How to use useRef hook to remove the effect of useEffect?

前端 未结 0 762
清酒与你
清酒与你 2021-02-07 03:56

I am using useRef and useEffect for learning purpose. In the AppBar, I want to color(yellow) the Navlink when clicked, using useRef. But the problem is that, how to remove effec

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